Closed bjoernalbers closed 9 years ago
From the /etc/profile
:
# It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates.
zsh appears to load /etc/profile
, which also loads /etc/profile.d/*.sh
.
zsh appears to load /etc/profile, which also loads /etc/profile.d/*.sh
@postmodern This doesn't appear to be the case in OS X.
I even grep
-ed /etc
and there isn't a single mention of profile.d
> sudo find /etc -type f -exec grep -H 'profile\.d' {} +
As a side note: /etc/zshenv
is readonly. Not sure about the potential side-effects of making it readwrite for root.
...as already mentioned in issue #270.