diff --git a/dot_config/fish/private_functions/chezmoiapply.fish b/dot_config/fish/private_functions/chezmoiapply.fish index 779afac..55d5031 100644 --- a/dot_config/fish/private_functions/chezmoiapply.fish +++ b/dot_config/fish/private_functions/chezmoiapply.fish @@ -1,9 +1,11 @@ function chezmoiapply -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 + 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