From 5ce23984992c7f01c305183cca0a333ff8b578dc Mon Sep 17 00:00:00 2001 From: Random936 Date: Fri, 9 Aug 2024 20:43:18 -0700 Subject: [PATCH] Added a couple of functions to zsh config --- home/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) 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 = [