dotfiles/.config/fish/conf.d/99-keepass-jm.fish

9 lines
221 B
Fish
Raw Normal View History

2022-07-01 14:59:40 +02:00
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