diff --git a/bash_completion b/bash_completion index 0be1318..d515165 100644 --- a/bash_completion +++ b/bash_completion @@ -2,6 +2,10 @@ # bash completion for Node Version Manager (NVM) +if ! nvm &> /dev/null; then + return +fi + __nvm_generate_completion() { declare current_word