diff --git a/_nvm b/_nvm index 1eec48b..ff2be83 100644 --- a/_nvm +++ b/_nvm @@ -5,24 +5,27 @@ local -a _1st_arguments _1st_arguments=( - 'help:show help' - '--version:print out the latest released version of nvm' - 'install:download and install a version in ' - 'uninstall:uninstall a version' - 'use:modify PATH to use . Uses .nvmrc if available' - 'exec:run on . Uses .nvmrc if available' - 'run:run `node` on with as arguments. Uses .nvmrc if available' - 'current:list installed versions' - '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' - 'deactivate:undo effects of `nvm` on current shell' - 'alias:show or set aliases' - 'unalias:deletes an alias' - 'reinstall-packages:reinstall global `npm` packages contained in to current version' - 'unload:unload `nvm` from shell' - 'which:display path to installed node version. Uses .nvmrc if available' + '--help:Show help' + '--version:Print out the installed version of nvm' + 'install:Download and install a , [-s] from source. Uses .nvmrc if available' + 'uninstall:Uninstall a version' + 'use:Modify PATH to use . Uses .nvmrc if available' + 'exec:Run on . Uses .nvmrc if available' + 'run:Run `node` on with as arguments. Uses .nvmrc if available' + 'current:Display currently activated version of Node' + 'ls:List installed versions, matching a given if provided' + 'ls-remote:List remote versions available for install, matching a given if provided' + 'version:Resolve the given description to a single local version' + 'version-remote:Resolve the given description to a single remote version' + 'deactivate:Undo effects of `nvm` on current shell' + 'alias:Show all aliases beginning with ' + 'unalias:Deletes the alias named ' + 'install-latest-npm:Attempt to upgrade to the latest working `npm` on the current node version' + 'reinstall-packages:Reinstall global `npm` packages contained in to current version' + 'unload:Unload `nvm` from shell' + 'which:Display path to installed node version. Uses .nvmrc if available' + 'upgrade:Upgrade to the latest release of `nvm`' + 'revert:Revert back to the previously installed version' ) _arguments -C '*:: :->subcmds' && return 0