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 function chezmoiapply
if not bw login --check set -x NODE_OPTIONS "--no-deprecation"
set -x BW_SESSION (bw login --raw)
end if not bw login --check
if not bw unlock --check set -x BW_SESSION (bw login --raw)
set -x BW_SESSION (bw unlock --raw) end
end if not bw unlock --check
chezmoi apply set -x BW_SESSION (bw unlock --raw)
end
chezmoi apply
end end