dotfiles/.config/fish/conf.d/99-keepass-jm.fish
2022-07-01 14:59:40 +02:00

8 lines
221 B
Fish

function jm --wraps=jm
if [ $argv[1] = up ]
set token (keepassxc-cli show $KEEPASS_DB jensmemes -sa password)
command jm up --token $token $argv[2..]
else
command jm $argv[1..]
end
end