diff options
author | bb2020 <bb2020@users.noreply.github.com> | 2021-04-06 00:26:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 23:26:20 +0200 |
commit | ea0e582d8a46b56eb5fd07838184223b54ffa704 (patch) | |
tree | 6a58dc753e988a04fd4a41211cb5d1135117bddd /pkgs/shells/zsh/zsh-clipboard/default.nix | |
parent | c8919c6f14067564b2fed5a56eb4556745f94f54 (diff) |
zsh-clipboard: init at 1.0 (#115450)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/shells/zsh/zsh-clipboard/default.nix')
-rw-r--r-- | pkgs/shells/zsh/zsh-clipboard/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
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; + }; +} |