From ea0e582d8a46b56eb5fd07838184223b54ffa704 Mon Sep 17 00:00:00 2001 From: bb2020 Date: Tue, 6 Apr 2021 00:26:20 +0300 Subject: zsh-clipboard: init at 1.0 (#115450) Co-authored-by: Sandro --- pkgs/shells/zsh/zsh-clipboard/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/shells/zsh/zsh-clipboard/default.nix (limited to 'pkgs/shells/zsh/zsh-clipboard/default.nix') diff --git a/pkgs/shells/zsh/zsh-clipboard/default.nix b/pkgs/shells/zsh/zsh-clipboard/default.nix new file mode 100644 index 0000000000000..114e0bfd7dc58 --- /dev/null +++ b/pkgs/shells/zsh/zsh-clipboard/default.nix @@ -0,0 +1,27 @@ +{ stdenv, lib }: + +stdenv.mkDerivation rec { + pname = "zsh-clipboard"; + version = "1.0"; + + src = ./.; + + dontBuild = true; + + installPhase = '' + install -D -m0444 -t $out/share/zsh/plugins/clipboard ./clipboard.plugin.zsh + ''; + + meta = with lib; { + description = "Ohmyzsh plugin that integrates kill-ring with system clipboard"; + longDescription = '' + Ohmyzsh plugin that integrates kill-ring with system clipboard. + + Key bindings for C-y, C-k, C-u, M-d, M-backspace and M-w are rebound. + Behaviour of these keys should not be changed. + ''; + license = licenses.mit; + maintainers = with maintainers; [ bb2020 ]; + platforms = platforms.unix; + }; +} -- cgit 1.4.1