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

10 lines
252 B
Fish
Raw Normal View History

2023-08-23 18:14:10 +02:00
# makes the `jm up` command get the token from bitwarden using rbw
2022-07-01 14:59:40 +02:00
function jm --wraps=jm
if [ $argv[1] = up ]
2023-08-23 18:14:10 +02:00
set token (rbw get jensmemes)
2022-07-01 14:59:40 +02:00
command jm up --token $token $argv[2..]
else
command jm $argv[1..]
end
end