mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
hide node warnings in bw functions
This commit is contained in:
parent
0342ab1ed7
commit
e5bf69149d
4 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
function chezmoiapply
|
function chezmoiapply
|
||||||
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
bwunlock
|
bwunlock
|
||||||
chezmoi apply
|
chezmoi apply
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
function chezmoiupdate
|
function chezmoiupdate
|
||||||
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
bwunlock
|
bwunlock
|
||||||
chezmoi update
|
chezmoi update
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
function fetchkeys
|
function fetchkeys
|
||||||
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
bwunlock
|
bwunlock
|
||||||
set key_item (bw list items --search "SSH Main" | jq ".[0]" --raw-output)
|
set key_item (bw list items --search "SSH Main" | jq ".[0]" --raw-output)
|
||||||
set key_item_id (echo $key_item | jq ".id" --raw-output)
|
set key_item_id (echo $key_item | jq ".id" --raw-output)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
function upgrade --wraps=topgrade
|
function upgrade --wraps=topgrade
|
||||||
|
set -x NODE_OPTIONS "--no-deprecation"
|
||||||
bwunlock
|
bwunlock
|
||||||
{{- if get . "sudo" }}
|
{{- if get . "sudo" }}
|
||||||
sudo ls >/dev/null
|
sudo ls >/dev/null
|
||||||
|
|
Loading…
Reference in a new issue