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
e3c02bfe
Commit
e3c02bfe
authored
Sep 04, 2013
by
Paul Melnikow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plugin for Node Version Manager
parent
434f3bc0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
_nvm
plugins/nvm/_nvm
+24
-0
nvm.plugin.zsh
plugins/nvm/nvm.plugin.zsh
+3
-0
No files found.
plugins/nvm/_nvm
0 → 100644
View file @
e3c02bfe
#compdef nvm
#autoload
local -a _1st_arguments
_1st_arguments=(
'help:show help'
'install:download and install a version'
'uninstall:uninstall a version'
'use:modify PATH to use version'
'run:run version with given arguments'
'ls:list installed versions or versions matching a given description'
'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'
'copy-packages:install global NPM packages to current version'
)
_arguments -C '*:: :->subcmds' && return 0
if (( CURRENT == 1 )); then
_describe -t commands "nvm subcommand" _1st_arguments
return
fi
\ No newline at end of file
plugins/nvm/nvm.plugin.zsh
0 → 100644
View file @
e3c02bfe
# The addition 'nvm install' attempts in ~/.profile
[[
-s
~/.nvm/nvm.sh
]]
&&
.
~/.nvm/nvm.sh
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