2022-06-08 13:57:51 +02:00
|
|
|
function upgrade --wraps=topgrade
|
2023-03-02 18:29:34 +01:00
|
|
|
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
|
|
|
|
sudo ls >/dev/null
|
|
|
|
topgrade
|
2022-06-08 13:57:51 +02:00
|
|
|
end
|