diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-04-17 21:51:16 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-04-17 21:51:16 +0900 |
commit | 69e7eab11f998a14259a380a69cd6fe93b5eb4a1 (patch) | |
tree | 2b201d647df4f28ad9b61b7db39ee0f7beacf837 /install | |
parent | dea206b023a695b75540f642a0b19a3ba1e38eec (diff) |
[install] Clarify that .bashrc should be loaded from .bash_profile on macOS
Close #1986
Diffstat (limited to 'install')
-rwxr-xr-x | install | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |