keepass-jm > jm-rbw

This commit is contained in:
LordMZTE 2023-08-23 18:14:10 +02:00
parent f63fe60707
commit 0b5bd17b69
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -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..]