mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
10 lines
175 B
Fish
10 lines
175 B
Fish
|
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
|