zsh-users
 help / color / mirror / code / Atom feed
* PSA: Mac OS X El Capitan upgrade might break your $PATH
@ 2015-07-31 16:35 Kurtis Rader
  2015-07-31 17:22 ` Bart Schaefer
  2015-07-31 18:53 ` Mikael Magnusson
  0 siblings, 2 replies; 8+ messages in thread
From: Kurtis Rader @ 2015-07-31 16:35 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

A public service announcement for those running Zsh on Mac OS X.

Upgrading to El Capitan (OS X 10.11) will install a /etc/zprofile that
contains

    # system-wide environment settings for zsh(1)
    if [ -x /usr/libexec/path_helper ]; then
       eval `/usr/libexec/path_helper -s`
    fi

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. The order appears random so it's
probably using a hashed set to avoid having the same directory appear more
than once in the result.

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 to keep my $PATH from being mucked
with.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-31 22:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-31 16:35 PSA: Mac OS X El Capitan upgrade might break your $PATH Kurtis Rader
2015-07-31 17:22 ` Bart Schaefer
2015-07-31 18:53 ` Mikael Magnusson
2015-07-31 21:05   ` Andrew Janke
2015-07-31 22:01     ` Kurtis Rader
2015-07-31 22:29       ` Andrew Janke
2015-07-31 22:49         ` Kurtis Rader
2015-07-31 22:10   ` Kurtis Rader

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).