From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7402 invoked from network); 28 Jul 2000 12:06:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Jul 2000 12:06:42 -0000 Received: (qmail 808 invoked by alias); 28 Jul 2000 12:06:18 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3344 Received: (qmail 713 invoked from network); 28 Jul 2000 12:06:16 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Juhapekka Tolvanen" , "zsh-user mailing list" Subject: RE: Bug or feature? Date: Fri, 28 Jul 2000 16:06:08 +0400 Message-ID: <000b01bff88c$36ba1d60$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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 > > My ~/.zshrc sources my ~/.kshrc via "." (dot) and my ~./kshrc sources my > ~/.shinit via ".". My ~/shinit has also these lines: > > # {{{ Logout > > trap '. $HOME/.sh_logout; exit' 0 ^^^ is there a space between ' and 0? > > # }}} > > Bash, ash and pdksh really sources my ~/.sh_logout during logout because of > that trap but my zsh does not. What version of Zsh? bor@itsrm2% zsh bor@itsrm2% trap "print I am exiting ..." 0 bor@itsrm2% exit I am exiting ... -andrej