[install] Clarify that .bashrc should be loaded from .bash_profile on macOS

Close #1986
This commit is contained in:
Junegunn Choi 2020-04-17 21:51:16 +09:00
parent dea206b023
commit 69e7eab11f
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 5 additions and 1 deletions

View File

@ -384,7 +384,11 @@ fi
if [ $update_config -eq 1 ]; then
echo 'Finished. Restart your shell or reload config file.'
[[ "$shells" =~ bash ]] && echo ' source ~/.bashrc # bash'
if [[ "$shells" =~ bash ]]; then
echo -n ' source ~/.bashrc # bash'
[[ "$archi" =~ Darwin ]] && echo -n ' (.bashrc should be loaded from .bash_profile)'
echo
fi
[[ "$shells" =~ zsh ]] && echo " source ${ZDOTDIR:-~}/.zshrc # zsh"
[[ "$shells" =~ fish ]] && [ $key_bindings -eq 1 ] && echo ' fzf_key_bindings # fish'
echo