shell/+zsh: disable /etc/zprofile on macos

This commit is contained in:
Henrik Lissner 2017-05-05 09:53:10 +02:00
parent e2e5460d47
commit c8d7c8d1e6

View file

@ -9,6 +9,9 @@ if [[ "$SHELL" != *zsh ]]; then
if ! grep '/usr/local/bin/zsh' /etc/shells >/dev/null; then
sudo tee -a /etc/shells <<< "/usr/local/bin/zsh"
fi
# Don't mess with my PATH!
sudo mv /etc/zprofile /etc/zprofile.disabled
;;
linux*)
if [[ -f /etc/arch-release ]]; then