dotfiles/dot_config/fish/private_functions/chezmoiapply.fish

11 lines
248 B
Fish

function chezmoiapply
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 apply
end