Add `nvm --version` and `$HOME` to `nvm debug`
parent
bc4d14bea6
commit
c957989fa9
2
nvm.sh
2
nvm.sh
|
@ -1476,7 +1476,9 @@ nvm() {
|
||||||
ZHS_HAS_SHWORDSPLIT_UNSET=$(setopt | command grep shwordsplit > /dev/null ; echo $?)
|
ZHS_HAS_SHWORDSPLIT_UNSET=$(setopt | command grep shwordsplit > /dev/null ; echo $?)
|
||||||
setopt shwordsplit
|
setopt shwordsplit
|
||||||
fi
|
fi
|
||||||
|
echo >&2 "nvm --version: v$(nvm --version)"
|
||||||
echo >&2 "\$SHELL: $SHELL"
|
echo >&2 "\$SHELL: $SHELL"
|
||||||
|
echo >&2 "\$HOME: $HOME"
|
||||||
echo >&2 "\$NVM_DIR: '$(nvm_sanitize_path "$NVM_DIR")'"
|
echo >&2 "\$NVM_DIR: '$(nvm_sanitize_path "$NVM_DIR")'"
|
||||||
echo >&2 "\$PREFIX: '$(nvm_sanitize_path "$PREFIX")'"
|
echo >&2 "\$PREFIX: '$(nvm_sanitize_path "$PREFIX")'"
|
||||||
echo >&2 "\$NPM_CONFIG_PREFIX: '$(nvm_sanitize_path "$NPM_CONFIG_PREFIX")'"
|
echo >&2 "\$NPM_CONFIG_PREFIX: '$(nvm_sanitize_path "$NPM_CONFIG_PREFIX")'"
|
||||||
|
|
Loading…
Reference in New Issue