From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: Vincent Lefevre <vincent@vinc17.org>
Cc: zsh-users@sunsite.dk
Subject: Re: Broken /etc/zshrc ?
Date: Sun, 19 Aug 2001 20:55:21 +0400 [thread overview]
Message-ID: <3B7FEF79.5040602@mow.siemens.ru> (raw)
In-Reply-To: <20010819175147.A1889@ay.nerim.net>
Vincent Lefevre wrote:
> The /etc/zshrc (system zshrc file) contains the following line:
>
> source /etc/profile
>
> But /etc/profile sets the path (I think this is OK). Thus, if a
> user sets his path in his .zshenv, then this path is lost because
> /etc/zshrc is sourced after the user's .zshenv file.
>
> I don't know if the /etc/zshrc was provided when compiling and
> installing zsh or provided by my Linux distribution (SuSE 7.2).
zsh does not install any startup files
> Isn't this /etc/zshrc file broken? Shouldn't the /etc/profile
> be sourced in the /etc/zshenv (which doesn't exist here)?
>
/etc/profile should be sourced in /etc/zprofile if at all.
Irrespectively, unconditional setting of PATH is always bad - PATH may
be already preset to some reasonable value.
-andrej
next prev parent reply other threads:[~2001-08-19 16:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-19 15:51 Vincent Lefevre
2001-08-19 16:55 ` Borsenkow Andrej [this message]
2001-08-19 18:06 ` Bart Schaefer
2001-08-19 19:12 ` Vincent Lefevre
2001-08-19 23:45 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B7FEF79.5040602@mow.siemens.ru \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=vincent@vinc17.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).