From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10327 invoked from network); 19 Aug 2001 15:52:14 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Aug 2001 15:52:14 -0000 Received: (qmail 10924 invoked by alias); 19 Aug 2001 15:52:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4139 Received: (qmail 10911 invoked from network); 19 Aug 2001 15:52:00 -0000 X-Authentication-Warning: localhost.nerim.net: lefevre set sender to vincent@vinc17.org using -f Date: Sun, 19 Aug 2001 17:51:47 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Broken /etc/zshrc ? Message-ID: <20010819175147.A1889@ay.nerim.net> Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.20i X-Mailer-Info: http://www.vinc17.org/mutt_eng.html 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). Isn't this /etc/zshrc file broken? Shouldn't the /etc/profile be sourced in the /etc/zshenv (which doesn't exist here)? -- Vincent Lefèvre - Web: - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA