summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-04-17 21:51:16 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-04-17 21:51:16 +0900
commit69e7eab11f998a14259a380a69cd6fe93b5eb4a1 (patch)
tree2b201d647df4f28ad9b61b7db39ee0f7beacf837 /install
parentdea206b023a695b75540f642a0b19a3ba1e38eec (diff)
[install] Clarify that .bashrc should be loaded from .bash_profile on macOS
Close #1986
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 5 insertions, 1 deletions
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