mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-17 21:32:40 +00:00
[Fix] install.sh
: fix failing install tests (#3458)
This commit is contained in:

committed by
Jordan Harband

parent
3de0b15810
commit
abd02e5aae
@@ -306,7 +306,7 @@ nvm_detect_profile() {
|
||||
if [ -z "$DETECTED_PROFILE" ]; then
|
||||
for EACH_PROFILE in ".profile" ".bashrc" ".bash_profile" ".zprofile" ".zshrc"
|
||||
do
|
||||
if DETECTED_PROFILE="$(nvm_try_profile "${HOME}/${EACH_PROFILE}")"; then
|
||||
if DETECTED_PROFILE="$(nvm_try_profile "${ZDOTDIR:-${HOME}}/${EACH_PROFILE}")"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user