Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
5c0911c1
Commit
5c0911c1
authored
Jul 01, 2018
by
Maciej Sypień
Committed by
Marc Cornellà
Jul 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update nvm completions with v0.29.0 (#4701)
parent
ac0d7146
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
_nvm
plugins/nvm/_nvm
+13
-6
No files found.
plugins/nvm/_nvm
View file @
5c0911c1
...
@@ -6,16 +6,23 @@
...
@@ -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
...
@@ -23,4 +30,4 @@ _arguments -C '*:: :->subcmds' && return 0
...
@@ -23,4 +30,4 @@ _arguments -C '*:: :->subcmds' && return 0
if (( CURRENT == 1 )); then
if (( CURRENT == 1 )); then
_describe -t commands "nvm subcommand" _1st_arguments
_describe -t commands "nvm subcommand" _1st_arguments
return
return
fi
fi
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment