dotfiles/dot_config/fish/private_functions/bwunlock.fish
2024-02-18 16:12:04 +01:00

10 lines
210 B
Fish

function bwunlock
set -x NODE_OPTIONS "--no-deprecation"
if not bw login --check
set -gx BW_SESSION (bw login --raw)
end
if not bw unlock --check
set -gx BW_SESSION (bw unlock --raw)
end
end