5c0911c184b012797ef4d0ed2a79d67b6b0976e3

Author
Maciej Sypień <egel@users.noreply.github.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

update nvm completions with v0.29.0 (#4701)

Diff

 1diff --git a/plugins/nvm/_nvm b/plugins/nvm/_nvm
 2index 1414dcbb1782a9f52d8cda6b7d0cff0ab9d57ab1..1eec48b0a6c3899b86bc7589e8204ec513454916 100644
 3--- a/plugins/nvm/_nvm
 4+++ b/plugins/nvm/_nvm
 5@@ -6,16 +6,23 @@
 6 local -a _1st_arguments
 7 _1st_arguments=(
 8   'help:show help'
 9-  'install:download and install a version'
10+  '--version:print out the latest released version of nvm'
11+  'install:download and install a version in <node|iojs|node version number>'
12   'uninstall:uninstall a version'
13-  'use:modify PATH to use version'
14-  'run:run version with given arguments'
15+  'use:modify PATH to use <version>. Uses .nvmrc if available'
16+  'exec:run <command> on <version>. Uses .nvmrc if available'
17+  'run:run `node` on <version> with <args> as arguments. Uses .nvmrc if available'
18+  'current:list installed versions'
19   'ls:list installed versions or versions matching a given description'
20+  'version:resolve the given description to a single local version'
21+  'version-remote:resolve the given description to a single remote version'
22   'ls-remote:list remote versions available for install'
23-  'deactivate:undo effects of NVM on current shell'
24+  'deactivate:undo effects of `nvm` on current shell'
25   'alias:show or set aliases'
26   'unalias:deletes an alias'
27-  'copy-packages:install global NPM packages to current version'
28+  'reinstall-packages:reinstall global `npm` packages contained in <version> to current version'
29+  'unload:unload `nvm` from shell'
30+  'which:display path to installed node version. Uses .nvmrc if available'
31 )
32 
33 _arguments -C '*:: :->subcmds' && return 0
34@@ -23,4 +30,4 @@ _arguments -C '*:: :->subcmds' && return 0
35 if (( CURRENT == 1 )); then
36   _describe -t commands "nvm subcommand" _1st_arguments
37   return
38-fi
39+fi