shell/+zsh: disable /etc/zprofile on macos
This commit is contained in:
parent
e2e5460d47
commit
c8d7c8d1e6
|
@ -9,6 +9,9 @@ if [[ "$SHELL" != *zsh ]]; then
|
||||||
if ! grep '/usr/local/bin/zsh' /etc/shells >/dev/null; then
|
if ! grep '/usr/local/bin/zsh' /etc/shells >/dev/null; then
|
||||||
sudo tee -a /etc/shells <<< "/usr/local/bin/zsh"
|
sudo tee -a /etc/shells <<< "/usr/local/bin/zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Don't mess with my PATH!
|
||||||
|
sudo mv /etc/zprofile /etc/zprofile.disabled
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [[ -f /etc/arch-release ]]; then
|
if [[ -f /etc/arch-release ]]; then
|
||||||
|
|
Loading…
Reference in a new issue