mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Bugfix: bash_completion configuration line is not append if the PROFILE variable is set to /etc/bashrc (which is a valid bashrc file).
This commit is contained in:
parent
e0df5e92e3
commit
b3a386b000
@ -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
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user