From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5597 invoked from network); 25 Mar 1999 11:39:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Mar 1999 11:39:56 -0000 Received: (qmail 19462 invoked by alias); 25 Mar 1999 11:38:45 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2237 Received: (qmail 19449 invoked from network); 25 Mar 1999 11:38:38 -0000 Message-Id: <9903251122.AA14741@ibmth.df.unipi.it> To: zsh-users@sunsite.auc.dk Subject: Re: zsh startup files In-Reply-To: "Wolfgang Hukriede"'s message of "Thu, 25 Mar 1999 11:55:41 NFT." <199903251055.LAA02436@sally.ifm.uni-kiel.de> Date: Thu, 25 Mar 1999 12:22:39 +0100 From: Peter Stephenson Wolfgang Hukriede wrote: > Peter Stephenson : > > > To summarise: Invoking zsh -b, or calling `setopt GLOBAL_RCS_FIRST' in > > /etc/zshenv, would force the order of scripts to be > > /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin > > ~/.zshenv ~/.zprofile ~/.zshrc ~/.zlogin > > As with the NO_RCS option, setting or unsetting the option at any later > > point would have no effect. The sysadmin could force all the global > > scripts to be used before the user does anything. (I've sent a patch for this, but the option has to be -d instead of -b, since that turns out to mean `end of option processing' on the command line.) > How about allowing the *user* to `setopt GLOBAL_RCS_FIRST' in their > own ~/.zshenv This makes things rather complicated; there's no fundamental difficulty, but I'd prefer to keep it clean. The idea is not that you're at war with the sysadmin, who's supposed to make it easy for users to set their own preferences. But if this is popular enough... -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy