Skip to content

Commit a31a040

Browse files
[Fix] NVM_PROFILE bash/zsh detection in installation
1 parent 40e4097 commit a31a040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ nvm_do_install() {
306306
command printf "${SOURCE_STR}"
307307
else
308308
case "${NVM_PROFILE-}" in
309-
".bashrc" | ".bash_profile" | ".zshrc")
309+
*"/.bashrc" | *"/.bash_profile" | *"/.zshrc")
310310
BASH_OR_ZSH=true
311311
;;
312312
esac

0 commit comments

Comments
 (0)