Update bash completion commands for nvm

master
Jordan Harband 2014-09-28 15:38:49 -07:00
parent b707d8b072
commit 9aec19a692
1 changed files with 5 additions and 3 deletions

View File

@ -18,9 +18,11 @@ __nvm_commands ()
current_word="${COMP_WORDS[COMP_CWORD]}" current_word="${COMP_WORDS[COMP_CWORD]}"
COMMANDS='\ COMMANDS='\
help install uninstall use run\ help install uninstall use run exec\
ls ls-remote list list-remote deactivate\ alias unalias copy-packages
alias unalias copy-packages clear-cache version' current list ls list-remote ls-remote\
clear-cache deactivate unload
version'
if [ ${#COMP_WORDS[@]} == 4 ]; then if [ ${#COMP_WORDS[@]} == 4 ]; then