From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20851 invoked from network); 18 Jul 2000 06:25:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Jul 2000 06:25:40 -0000 Received: (qmail 29846 invoked by alias); 18 Jul 2000 06:25:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12294 Received: (qmail 29839 invoked from network); 18 Jul 2000 06:25:32 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Zefram" , "Adam Spiers" Cc: "zsh workers mailing list" Subject: RE: PATCH: Re: adding a toplevel zsh.spec.in file Date: Tue, 18 Jul 2000 10:25:09 +0400 Message-ID: <000001bff080$ebc91fd0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > > So here's my recomendation for zsh RPM builders: ship no /etc/zshrc, > /etc/zshenv, /etc/zlogin or /etc/zlogout, and have /etc/zprofile > be a symbolic link -> profile. (This still leaves a broken Red Hat > /etc/profile, but that's outside the scope of a zsh package.) Slightly off-topic. It is not generally possible to link zprofile to profile because - wordsplitting :-) (yes, it may happen) - some /etc/profile(s) (ours at least) check the the value of $0 for being somehing like -sh and do not expect -zsh here. I use /etc/zprofile that defines function that sets shwordsplit, fakes $0 being -sh (hmm, may there be some security problems in case of su?) and sources /etc/profile. May be, it is an overkill. And, may be on Linux everything is different :-) (I was speaking about my system) -andrej