mirror of https://github.com/exaloop/codon.git
Update the applicable bash profile file (#498)
parent
2c7440768d
commit
a257678c4f
|
@ -50,6 +50,10 @@ if [[ "$SHELL" == *zsh ]]; then
|
|||
elif [[ "$SHELL" == *bash ]]; then
|
||||
if [ -e ~/.bash_profile ]; then
|
||||
update_profile ~/.bash_profile
|
||||
elif [ -e ~/.bash_login ]; then
|
||||
update_profile ~/.bash_login
|
||||
elif [ -e ~/.profile ]; then
|
||||
update_profile ~/.profile
|
||||
else
|
||||
echo "Could not find bash configuration file to update PATH"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue