update nvm completions with v0.29.0 (#4701)

This commit is contained in:
Maciej Sypień 2018-07-01 23:12:14 +02:00 committed by Marc Cornellà
parent ac0d71467b
commit 5c0911c184

View file

@ -6,16 +6,23 @@
local -a _1st_arguments local -a _1st_arguments
_1st_arguments=( _1st_arguments=(
'help:show help' 'help:show help'
'install:download and install a version' '--version:print out the latest released version of nvm'
'install:download and install a version in <node|iojs|node version number>'
'uninstall:uninstall a version' 'uninstall:uninstall a version'
'use:modify PATH to use version' 'use:modify PATH to use <version>. Uses .nvmrc if available'
'run:run version with given arguments' 'exec:run <command> on <version>. Uses .nvmrc if available'
'run:run `node` on <version> with <args> as arguments. Uses .nvmrc if available'
'current:list installed versions'
'ls:list installed versions or versions matching a given description' 'ls:list installed versions or versions matching a given description'
'version:resolve the given description to a single local version'
'version-remote:resolve the given description to a single remote version'
'ls-remote:list remote versions available for install' 'ls-remote:list remote versions available for install'
'deactivate:undo effects of NVM on current shell' 'deactivate:undo effects of `nvm` on current shell'
'alias:show or set aliases' 'alias:show or set aliases'
'unalias:deletes an alias' 'unalias:deletes an alias'
'copy-packages:install global NPM packages to current version' 'reinstall-packages:reinstall global `npm` packages contained in <version> to current version'
'unload:unload `nvm` from shell'
'which:display path to installed node version. Uses .nvmrc if available'
) )
_arguments -C '*:: :->subcmds' && return 0 _arguments -C '*:: :->subcmds' && return 0