From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29075 invoked from network); 24 Mar 1999 23:17:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Mar 1999 23:17:47 -0000 Received: (qmail 12942 invoked by alias); 24 Mar 1999 23:16:21 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2230 Received: (qmail 12905 invoked from network); 24 Mar 1999 23:16:19 -0000 Date: Wed, 24 Mar 1999 18:15:47 -0500 From: Sweth Chandramouli To: zsh-users@sunsite.auc.dk Subject: Re: zsh startup files Message-ID: <19990324181547.A4700@astaroth.nit.gwu.edu> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <5l90cmijvs.fsf@tequila.cs.yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <5l90cmijvs.fsf@tequila.cs.yale.edu> On Wed, Mar 24, 1999 at 05:48:55PM -0500, Stefan Monnier wrote: > > Am I the only one that keeps getting annoyed by the sequence in which startup > files are read ? It seems to be especially designed to make it easy for the > sysadmin to come up with a setup that is painful to override by users. > As a user and a syadmin who cares about users who like to override the > sysadmin's decisions, I think it should be changed. Instead of something like > > /etc/zshenv ~/.zshenv /etc/zprofile ~/.zprofile /etc/zshrc ~/.zshrc ... > > I suggest > > /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin ~/.zshenv ~/.zprofile ... > > This way the sysadmin can put in /etc/zprofile commands that should only be > executed at login time without having to worry about interference with the > user's ~/.zshenv settings. > And this way, when the sysadmin (or RedHat package maintainers) decide to put > bogus PATH and umask settings in /etc/zshrc it won't override my ~/.zprofile > choices. i think the idea is that the same sorts of commands will go in the equivalent system-wide and user-specific files, so that by sourcing the user files right after the relevant system files, the user can always override the system options. in other words, if your sysadmin is setting PATH and umask in /etc/zshrc, try setting it to your value in your own .zshrc instead of your .zprofile. -- sweth. -- Sweth Chandramouli IS Coordinator, The George Washington University / (202) 994 - 8521 (V) / (202) 994 - 0458 (F) *