Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PSA: Mac OS X El Capitan upgrade might break your $PATH
- X-seq: zsh-users 20374
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Kurtis Rader <krader@xxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: PSA: Mac OS X El Capitan upgrade might break your $PATH
- Date: Fri, 31 Jul 2015 10:22:05 -0700
- In-reply-to: <CABx2=D-TXjJpoN8pQOR6nswM4J3xxwgm8aoFn8ZyE-o2DZw9pQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABx2=D-TXjJpoN8pQOR6nswM4J3xxwgm8aoFn8ZyE-o2DZw9pQ@mail.gmail.com>
On Jul 31, 9:35am, Kurtis Rader wrote:
}
} On a new login shell that will be sourced after your $HOME/.zshenv.
} If you set your $PATH in your .zshenv the /usr/libexec/path_helper
} program will alter the order of the directories.
}
} You can't remove /usr/libexec/path_helper due to the new security
} mechanisms (at least not without booting from a recovery disk) but you can
} remove /etc/zprofile which is what I did
Another option is to add to your ~/.zshenv the line:
setopt no_global_rcs
And then if desired in your ~/.zprofile add:
setopt global_rcs
This pair of commands placed in these two files will disable reading of
/etc/zprofile and then re-enable reading of /etc/zshrc and /etc/zlogin,
without needing to remove system files (which might re-appear on an update
anyway).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author