From 0b5bd17b69e91556ffecde5b30d4930f1ef30c4d Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Wed, 23 Aug 2023 18:14:10 +0200 Subject: [PATCH] keepass-jm > jm-rbw --- .config/fish/conf.d/{99-keepass-jm.fish => 99-jm-rbw.fish} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename .config/fish/conf.d/{99-keepass-jm.fish => 99-jm-rbw.fish} (58%) 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..]