From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030531
Description of problem:
zsh, as shipped, does not source /etc/profile. Consequently, files in
/etc/profile.d aren't sourced either.
This is because zsh only sources /etc/profile when run in sh or ksh
compatibility mode. By default, it does not run in either of these modes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. chsh your shell to /bin/zsh
2. open a log-in shell
3. notice that /etc/profile has had no effect
Actual Results: Neither /etc/profile nor anything in /etc/profile.d/* sourced.
Expected Results: Sourcing /etc/profile and stuff in /etc/profile.d/* is desirable.
A workaround is to add 'emulate sh' to /etc/zshrc, but that's not necessarily
desirable, since it changes some of zsh's default settings.
I gave a workaround in my bug report, but the fix is equally obvious. Add the
following line to /etc/zshrc:
Try adding the contents of "/etc/skel/.zshrc" to your .zshrc file.
*** This bug has been marked as a duplicate of 88457 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.