Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebucaran committed Dec 22, 2020
1 parent 3424bc7 commit 6520108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions completions/nvm.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
complete -c nvm --exclusive --long version -d "Print version"
complete -c nvm --exclusive --long help -d "Print this help message"

complete -c nvm --exclusive --condition "__fish_use_subcommand" -a install -d "Download and activate the specified Node version using nearest .nvmrc file if none is given"
complete -c nvm --exclusive --condition "__fish_use_subcommand" -a install -d "Download and activate the specified Node version"
complete -c nvm --exclusive --condition "__fish_use_subcommand" -a use -d "Activate a version in the current shell"
complete -c nvm --exclusive --condition "__fish_use_subcommand" -a list -d "List installed versions"
complete -c nvm --exclusive --condition "__fish_use_subcommand" -a list-remote -d "List versions available to install matching optional regex"
Expand All @@ -16,4 +16,4 @@ complete -c nvm --exclusive --condition "__fish_seen_subcommand_from uninstall"
)"
complete -c nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" -a "(
set --query nvm_default_version && echo default
)"
)"
2 changes: 1 addition & 1 deletion functions/nvm.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function nvm -a cmd v -d "Node version manager"

switch "$cmd"
case -v --version
echo "nvm, version 2.0.0"
echo "nvm, version 2.0.1"
case "" -h --help
echo "Usage: nvm install <version> Download and activate the specified Node version"
echo " nvm install Install version from nearest .nvmrc file"
Expand Down

0 comments on commit 6520108

Please sign in to comment.