From b3a386b000256c70f1d9994566cfa25687a59952 Mon Sep 17 00:00:00 2001 From: Tristan Cladet Date: Fri, 27 Aug 2021 17:43:51 +0200 Subject: [PATCH] Bugfix: bash_completion configuration line is not append if the PROFILE variable is set to /etc/bashrc (which is a valid bashrc file). --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4ca56c0..d55abed 100755 --- a/install.sh +++ b/install.sh @@ -34,7 +34,7 @@ nvm_profile_is_bash_or_zsh() { local TEST_PROFILE TEST_PROFILE="${1-}" case "${TEST_PROFILE-}" in - *"/.bashrc" | *"/.bash_profile" | *"/.zshrc") + *"/.bashrc" | *"/.bash_profile" | *"/.zshrc" | "/etc/bashrc") return ;; *)