diff --git a/nvm.sh b/nvm.sh index 39a07e1..d6dd751 100755 --- a/nvm.sh +++ b/nvm.sh @@ -2675,6 +2675,7 @@ nvm() { # Prepend current version PATH="$(nvm_prepend_path "$PATH" "$NVM_VERSION_DIR/bin")" if nvm_has manpath; then + local MANPATH if [ -z "$MANPATH" ]; then MANPATH=$(manpath) fi