mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-05 06:13:59 +01:00
Add upgrade command
This commit is contained in:
parent
141bc129ce
commit
6193fc935c
1 changed files with 9 additions and 0 deletions
9
dot_config/fish/private_functions/upgrade.fish
Normal file
9
dot_config/fish/private_functions/upgrade.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Reference in a new issue