This commit is contained in:
Anton Osmond 2017-06-13 06:17:46 +00:00 committed by GitHub
commit 5bfe710dc3

3
nvm.sh
View File

@ -143,6 +143,9 @@ nvm_print_npm_version() {
fi
}
# Ensure this only runs in the users $HOME directory
cd "$HOME"
# Make zsh glob matching behave same as bash
# This fixes the "zsh: no matches found" errors
if [ -z "${NVM_CD_FLAGS-}" ]; then