[Fix] install.sh: fix failing install tests (#3458)
This commit is contained in:
1 parent
3de0b15810
commit
abd02e5aae
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -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