diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 7616a3dd1..485f7d317 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -197,9 +197,15 @@ elif [[ "$SHELL" = */bash ]]; then fi ' >> ~/.xmake/profile - if [[ "$SHELL" = */zsh ]]; then write_profile ~/.zshrc - elif [[ "$SHELL" = */ksh ]]; then write_profile ~/.kshrc - elif [[ "$SHELL" = */bash ]]; then write_profile ~/.bashrc + if [[ "$SHELL" = */zsh ]]; then + write_profile ~/.zshrc + elif [[ "$SHELL" = */ksh ]]; then + write_profile ~/.kshrc + elif [[ "$SHELL" = */bash ]]; then + write_profile ~/.bashrc + if [ "$(uname)" == "Darwin" ]; then + write_profile ~/.bash_profile + fi else write_profile ~/.profile fi |
