dotfiles/.config/fish/conf.d/99-jm-rbw.fish
2023-08-23 18:14:10 +02:00

9 lines
252 B
Fish

# makes the `jm up` command get the token from bitwarden using rbw
function jm --wraps=jm
if [ $argv[1] = up ]
set token (rbw get jensmemes)
command jm up --token $token $argv[2..]
else
command jm $argv[1..]
end
end