Re: Bug#364319: base-files: PS1 setting for *ksh (PROPOSAL: /etc/profile.d/)
cobaco (aka Bart Cornelis) <cobaco@skolelinux.no> writes:
> /etc/profile is only used by bourne-compatible shells (of which tcsh
> isn't one). Most things can be writte in a way that's valid for all
> bourne-compatible shells, and any bits that can't can easily be wrapped
> in an appropriate if-statement
/etc/profile is *not*, however, used by all Bourne-compatible shells.
(One significant exception is zsh.) Therefore, one cannot put things into
/etc/profile and assume that all Bourne-compatible shells will then see
them.
I don't think this really counters the rest of your argument, but it's
something to be aware of.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: