mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-21 22:18:07 +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
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
bwunlock
|
||||
chezmoi apply
|
||||
end
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function chezmoiupdate
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
bwunlock
|
||||
chezmoi update
|
||||
end
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function fetchkeys
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
bwunlock
|
||||
set key_item (bw list items --search "SSH Main" | jq ".[0]" --raw-output)
|
||||
set key_item_id (echo $key_item | jq ".id" --raw-output)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function upgrade --wraps=topgrade
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
bwunlock
|
||||
{{- if get . "sudo" }}
|
||||
sudo ls >/dev/null
|
||||
|
|
Loading…
Reference in a new issue