From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7482 invoked from network); 28 Jul 2000 12:15:34 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Jul 2000 12:15:34 -0000 Received: (qmail 1762 invoked by alias); 28 Jul 2000 12:15:19 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3345 Received: (qmail 1755 invoked from network); 28 Jul 2000 12:15:18 -0000 Date: Fri, 28 Jul 2000 15:14:12 +0300 (EEST) From: Juhapekka Tolvanen To: Andrej Borsenkow cc: zsh-user mailing list Subject: RE: Bug or feature? In-Reply-To: <000b01bff88c$36ba1d60$21c9ca95@mow.siemens.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Fri, 28 Jul 2000, Andrej Borsenkow wrote: > > > > 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 ... Oh, sorry, I forgot: juhtolv@heresy : /home/juhtolv % dpkg -l zsh 7544 | pts/5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii zsh 3.1.6.pws21-1 A shell with lots of features. juhtolv@heresy : /home/juhtolv % 7545 | pts/5 That is the version of zsh provided with Debian GNU/Linux 2.2 Potato -- Juhapekka "naula" Tolvanen * U of Jyväskylä * juhtolv@st.jyu.fi http://www.cc.jyu.fi/~juhtolv/ * * "STRAIGHT BUT NOT NARROW !!" --------------------------------------------------------------- "if i was twice the man i could be, i'd still be half of what you need" Nine Inch Nails