From 843b5f36610b33b11ca192fc2c4ef5efaa14b7f8 Mon Sep 17 00:00:00 2001 From: Dwayne Crooks Date: Fri, 15 Jan 2016 05:04:25 -0400 Subject: [PATCH] Update README.markdown Change Bash completion source instructions to be consistent with the source instructions for nvm itself. --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 00937c0..6fba0bf 100644 --- a/README.markdown +++ b/README.markdown @@ -184,7 +184,7 @@ Nota bene: Avoid running nvm while the tests are running. To activate, you need to source `bash_completion`: - [[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion + [ -r "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" Put the above sourcing line just below the sourcing line for NVM in your profile (`.bashrc`, `.bash_profile`).