dotfiles/dot_config/fish/private_functions/bwunlock.fish

11 lines
210 B
Fish
Raw Normal View History

2024-02-18 14:35:30 +01:00
function bwunlock
2024-02-18 16:12:04 +01:00
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
2024-02-18 14:35:30 +01:00
end