Skip to content

Commit

Permalink
zsh: prevent deprecation warn dump on encmount
Browse files Browse the repository at this point in the history
  • Loading branch information
namikingsoft committed Nov 10, 2023
1 parent 4344a5d commit 6864492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
alias fzfm="fzf -e -i --reverse --no-sort --multi --select-1"
# encrypted volume on icloud
function encmount {
printf '%s\0' "$(bw get password encrypted.dmg)" | hdiutil attach ~/icloud/encrypted.dmg -stdinpass
printf '%s\0' "$(NODE_OPTIONS="--no-deprecation" bw get password encrypted.dmg)" | hdiutil attach ~/icloud/encrypted.dmg -stdinpass
}
alias encunmount="hdiutil detach /Volumes/encrypted"
function encenv {
Expand Down

0 comments on commit 6864492

Please sign in to comment.