mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-03-05 00:50:21 +01:00
keepass-jm > jm-rbw
This commit is contained in:
parent
f63fe60707
commit
0b5bd17b69
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
# makes the `jm up` command get the token from bitwarden using rbw
|
||||||
function jm --wraps=jm
|
function jm --wraps=jm
|
||||||
if [ $argv[1] = up ]
|
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..]
|
command jm up --token $token $argv[2..]
|
||||||
else
|
else
|
||||||
command jm $argv[1..]
|
command jm $argv[1..]
|
Loading…
Add table
Reference in a new issue