diff --git a/dot_config/fish/private_functions/upgrade.fish b/dot_config/fish/private_functions/upgrade.fish new file mode 100644 index 0000000..77d7f65 --- /dev/null +++ b/dot_config/fish/private_functions/upgrade.fish @@ -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