Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: FW: [Cooker] Default /etc/zshrc and russian loale problem
- X-seq: zsh-workers 13552
- From: Chmouel Boudjnah <chmouel@xxxxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: FW: [Cooker] Default /etc/zshrc and russian loale problem
- Date: 27 Feb 2001 13:29:49 -0600
- Cc: "ZSH Workers Mailing List" <zsh-workers@xxxxxxxxxx>
- In-reply-to: <1010227182119.ZM6444@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <001a01c0a0e6$e49b5040$21c9ca95@xxxxxxxxxxxxxx> <1010227182119.ZM6444@xxxxxxxxxxxxxxxxxxxxxxx>
"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> No, I have no objection. It was never my intent to suggest that necessary
> settings be removed from the global startup, only that global startup
> should be both minimized and carefully designed to conflict as little as
> possible with the user's own files.
> As to the specific question of whether /etc/profile.d/*.sh should be read
> from /etc/zprofile or /etc/zshrc, the problem there likely is that xterm
> and similar emulators typically start interactive shells that are not
> login shells, so if you're logging in via the XDM console you *still*
> won't get the locale settings if they're read only from /etc/zprofile.
agreed....
> I don't know how that works out when the shell is not zsh ... does, e.g.,
> bash source /etc/profile even when not a login shell?
we workaround that with in :
bashrc:
if [ -z "$PROFILE_LOADED" -a -e /etc/profile ]; then
. /etc/profile
fi
unset PROFILE_LOADED
--
MandrakeSoft Inc http://www.chmouel.org
--Chmouel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author