diff --git a/bash_completion b/bash_completion index 3e72500..e1f987c 100644 --- a/bash_completion +++ b/bash_completion @@ -58,7 +58,7 @@ __nvm_aliases() { declare aliases aliases="" if [ -d "${NVM_DIR}/alias" ]; then - aliases="$(cd "${NVM_DIR}/alias" && command find "${PWD}" -type f | command sed "s:${PWD}/::")" + aliases="$(command cd "${NVM_DIR}/alias" && command find "${PWD}" -type f | command sed "s:${PWD}/::")" fi echo "${aliases} node stable unstable iojs" }