3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/zsh/zsh-clipboard/default.nix
bb2020 ea0e582d8a
zsh-clipboard: init at 1.0 (#115450)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-05 23:26:20 +02:00

28 lines
687 B
Nix

{ 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;
};
}