So sprach Andrej Borsenkow am Sun, May 20, 2001 at 03:51:29PM +0400:
> >
> > Why has LESSOPEN been moved to /etc/skel/.bash_alias ? Before it was in
> > /etc/profile which also allowed other shells, namely zsh,
>
> Sorry? Zsh never reads /etc/profile if called as zsh. It reads
> /etc/zprofile.
from man zsh:
The usual zsh startup/shutdown scripts are not executed. Login
shells source /etc/profile followed by $HOME/.profile. If the ENV
environment
> I think, that we just need something like /etc/profile.d/alias.sh, because
> /etc/profile.d is sourced by both bash and zsh.
Wrong. Neither bash nor zsh nor tcsh source /etc/profile.d out of them
selves. I don't know (and care) about (t)csh, to be honest, but bash and
zsh source /etc/profile. In /etc/profile, you'll find something like:
for profile in /etc/profile.d/*.sh; do
source $profile
done
And further, if you add something to /etc/profile, it will also be available
in zsh, which proves that your statement is wrong.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
Uptime: 6 days 3 hours 53 minutes