dotfiles/dot_config/fish/private_functions/upgrade.fish

10 lines
175 B
Fish
Raw Normal View History

2022-06-08 13:57:51 +02:00
function upgrade --wraps=topgrade
if not bw login --check
set -x BW_SESSION (bw login --raw)
end
if not bw unlock --check
set -x BW_SESSION (bw unlock --raw)
end
topgrade
end