From 69e7eab11f998a14259a380a69cd6fe93b5eb4a1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 17 Apr 2020 21:51:16 +0900 Subject: [PATCH] [install] Clarify that .bashrc should be loaded from .bash_profile on macOS Close #1986 --- install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install b/install index 207b3744..7e369241 100755 --- a/install +++ b/install @@ -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