[Fix] bash_completion should make sure nvm loaded
parent
911ff87601
commit
952d0067b3
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
# bash completion for Node Version Manager (NVM)
|
# bash completion for Node Version Manager (NVM)
|
||||||
|
|
||||||
|
if ! nvm &> /dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
__nvm_generate_completion()
|
__nvm_generate_completion()
|
||||||
{
|
{
|
||||||
declare current_word
|
declare current_word
|
||||||
|
|
Loading…
Reference in New Issue