diff --git a/home/zsh.nix b/home/zsh.nix index 17ab7a9..30ffa24 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -32,6 +32,8 @@ function ..... { cd ../../../../.. } function ...... { cd ../../../../../.. } function ....... { cd ../../../../../../.. } + function bw-copy { bw-load && bw get password "$1" | xsel --clipboard -i } + function bw-clear { echo -n "" | xsel --clipboard } ''; plugins = [