[Fix] bash_completion should make sure nvm loaded

Peter Dave Hello 2017-01-01 18:13:13 +08:00
parent 911ff87601
commit 952d0067b3
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
# bash completion for Node Version Manager (NVM)
if ! nvm &> /dev/null; then
return
fi
__nvm_generate_completion()
{
declare current_word