mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
disable node deprecations in chezmoiupdate function
This commit is contained in:
parent
c0b22dea4c
commit
beb4f22aaa
1 changed files with 8 additions and 7 deletions
|
@ -1,9 +1,10 @@
|
||||||
function chezmoiupdate
|
function chezmoiupdate
|
||||||
if not bw login --check
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
set -x BW_SESSION (bw login --raw)
|
if not bw login --check
|
||||||
end
|
set -x BW_SESSION (bw login --raw)
|
||||||
if not bw unlock --check
|
end
|
||||||
set -x BW_SESSION (bw unlock --raw)
|
if not bw unlock --check
|
||||||
end
|
set -x BW_SESSION (bw unlock --raw)
|
||||||
chezmoi update
|
end
|
||||||
|
chezmoi update
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue