dotfiles/dot_config/fish/private_functions/upgrade.fish.tmpl

14 lines
325 B
Cheetah
Raw Normal View History

2022-06-08 13:57:51 +02:00
function upgrade --wraps=topgrade
set -x NODE_OPTIONS "--no-deprecation"
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
2024-01-20 16:16:26 +01:00
{{- if get . "sudo" }}
sudo ls >/dev/null
2024-01-20 16:16:26 +01:00
{{- end }}
2023-03-23 22:32:12 +01:00
topgrade $argv
2022-06-08 13:57:51 +02:00
end