Red Hat Bugzilla – Bug 62788
zsh doesn't always process /etc/profile.d/*.sh
Last modified: 2007-04-18 12:41:42 EDT
Description of Problem:
While bash processes scriplets in /etc/profile.d in every shell, zsh only does
so when a login shell is started (via /etc/profile). It should also do so in
Version-Release number of selected component (if applicable):
Steps to reproduce:
1. Create a scriptlet in /etc/profile.d which defines a shell function.
2. Log in using zsh and use "functions" to check that it's defined.
3. Start a subshell and use "functions" to check that it isn't defined.
The shell function is gone.
The shell function is should be there.
zsh-4.0.4-5 now sources /etc/profile from /etc/zshenv for bash consistency.
Any comments on bug 65509?