hide deprecation warnings in chezmoiapply

This commit is contained in:
Gabriel Augendre 2024-02-17 21:01:36 +01:00
parent 52f89e1429
commit 8f3fcc6022

View file

@ -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