[New] Print $SHLVL in `nvm debug`
parent
aad269d224
commit
3ed47431f8
2
nvm.sh
2
nvm.sh
|
@ -2397,6 +2397,8 @@ nvm() {
|
||||||
nvm_err "\$TERM_PROGRAM: $TERM_PROGRAM"
|
nvm_err "\$TERM_PROGRAM: $TERM_PROGRAM"
|
||||||
fi
|
fi
|
||||||
nvm_err "\$SHELL: $SHELL"
|
nvm_err "\$SHELL: $SHELL"
|
||||||
|
# shellcheck disable=SC2169
|
||||||
|
nvm_err "\$SHLVL: ${SHLVL-}"
|
||||||
nvm_err "\$HOME: $HOME"
|
nvm_err "\$HOME: $HOME"
|
||||||
nvm_err "\$NVM_DIR: '$(nvm_sanitize_path "$NVM_DIR")'"
|
nvm_err "\$NVM_DIR: '$(nvm_sanitize_path "$NVM_DIR")'"
|
||||||
nvm_err "\$PREFIX: '$(nvm_sanitize_path "$PREFIX")'"
|
nvm_err "\$PREFIX: '$(nvm_sanitize_path "$PREFIX")'"
|
||||||
|
|
Loading…
Reference in New Issue