dotfiles/dot_config/fish/private_functions/chezmoiupdate.fish

11 lines
249 B
Fish
Raw Normal View History

2022-06-17 12:25:21 +02:00
function chezmoiupdate
set -x NODE_OPTIONS "--no-deprecation"
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
chezmoi update
2022-06-17 12:25:21 +02:00
end