mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Fix] bash_completion should make sure nvm loaded
This commit is contained in:
parent
911ff87601
commit
952d0067b3
@ -2,6 +2,10 @@
|
||||
|
||||
# bash completion for Node Version Manager (NVM)
|
||||
|
||||
if ! nvm &> /dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
__nvm_generate_completion()
|
||||
{
|
||||
declare current_word
|
||||
|
Loading…
Reference in New Issue
Block a user