Add bash_completion for `nvm exec`
parent
820074e1d7
commit
e58d4abf11
|
@ -73,7 +73,7 @@ __nvm ()
|
||||||
previous_word="${COMP_WORDS[COMP_CWORD-1]}"
|
previous_word="${COMP_WORDS[COMP_CWORD-1]}"
|
||||||
|
|
||||||
case "$previous_word" in
|
case "$previous_word" in
|
||||||
use|run|ls|list|uninstall) __nvm_installed_nodes ;;
|
use|run|exec|ls|list|uninstall) __nvm_installed_nodes ;;
|
||||||
alias|unalias) __nvm_alias ;;
|
alias|unalias) __nvm_alias ;;
|
||||||
*) __nvm_commands ;;
|
*) __nvm_commands ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue