diff --git a/.config/fish/conf.d/99-keepass-jm.fish b/.config/fish/conf.d/99-jm-rbw.fish similarity index 58% rename from .config/fish/conf.d/99-keepass-jm.fish rename to .config/fish/conf.d/99-jm-rbw.fish index 7abc0b2..d13f51e 100644 --- a/.config/fish/conf.d/99-keepass-jm.fish +++ b/.config/fish/conf.d/99-jm-rbw.fish @@ -1,6 +1,7 @@ +# makes the `jm up` command get the token from bitwarden using rbw function jm --wraps=jm if [ $argv[1] = up ] - set token (keepassxc-cli show $KEEPASS_DB jensmemes -sa password) + set token (rbw get jensmemes) command jm up --token $token $argv[2..] else command jm $argv[1..]