mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 15:38:06 +01:00
hide deprecation warnings in chezmoiapply
This commit is contained in:
parent
52f89e1429
commit
8f3fcc6022
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue