[debug] add `whoami` output

Jordan Harband 2020-07-25 13:38:52 -07:00
parent 55eafcd814
commit 83043c4d3a
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -2480,6 +2480,7 @@ nvm() {
nvm_err "\$SHELL: ${SHELL}" nvm_err "\$SHELL: ${SHELL}"
# shellcheck disable=SC2169 # shellcheck disable=SC2169
nvm_err "\$SHLVL: ${SHLVL-}" nvm_err "\$SHLVL: ${SHLVL-}"
nvm_err "whoami: '$(whoami)'"
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 "\${PATH}: $(nvm_sanitize_path "${PATH}")" nvm_err "\${PATH}: $(nvm_sanitize_path "${PATH}")"