[New] Print $TERM_PROGRAM in nvm debug if it exists
parent
38a568c9c9
commit
ab591b07ef
3
nvm.sh
3
nvm.sh
|
@ -2357,6 +2357,9 @@ nvm() {
|
||||||
setopt shwordsplit
|
setopt shwordsplit
|
||||||
fi
|
fi
|
||||||
nvm_err "nvm --version: v$(nvm --version)"
|
nvm_err "nvm --version: v$(nvm --version)"
|
||||||
|
if [ -n "${TERM_PROGRAM-}" ]; then
|
||||||
|
nvm_err "\$TERM_PROGRAM: $TERM_PROGRAM"
|
||||||
|
fi
|
||||||
nvm_err "\$SHELL: $SHELL"
|
nvm_err "\$SHELL: $SHELL"
|
||||||
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")'"
|
||||||
|
|
Loading…
Reference in New Issue