Skip to content

Commit

Permalink
Parse --silent first
Browse files Browse the repository at this point in the history
We use --silent when switching to $nvm_default_version
  • Loading branch information
jorgebucaran committed Jun 8, 2022
1 parent 99ba58b commit 2d3c97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/nvm.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function nvm --description "Node version manager"
for silent in -s --silent
for silent in --silent -s
if set --local index (contains --index -- $silent $argv)
set --erase argv[$index] && break
end
Expand Down

0 comments on commit 2d3c97e

Please sign in to comment.