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

8 lines
166 B
Cheetah

function upgrade --wraps=topgrade
set -x NODE_OPTIONS "--no-deprecation"
bwunlock
{{- if get . "sudo" }}
sudo ls >/dev/null
{{- end }}
topgrade $argv
end