zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <comet@fysh.org>
To: Zsh users list <zsh-users@sunsite.auc.dk>
Subject: Re: .zlogout RE: Problem w/ ulimit killing compiles on sol 2.4&2.6 ...
Date: Thu, 4 Feb 1999 14:30:00 +0000	[thread overview]
Message-ID: <19990204143000.A2945@fysh.org> (raw)

Typing away merrily, Peter Stephenson produced the immortal words:
> This is a strange omission.  It's executed any time a login shell
> exits (unless it crashes, obviously).  I hope the patch makes it clear
> enough.
[...]
> +When a login shell exits, the files tt($ZDOTDIR/.zlogout) and then
> +tt(/etc/zlogout) are read.
> +

Does a reminder about the effect of exec belong in the manual or the
FAQ?  I've had to sort out problems for a few people (normally
.bash_logout rather than .zlogout) where they just hadn't thought
through that using exec foobar would stop the shell sourcing the logout
scripts.

For those who really want maintenance logs or whatever, but still want
to exec something (an interruptible secure program), I usually suggest a
function/alias that does a TRAPEXIT/trap '' 0  -- is this really the
best idea?
-- 
--> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$
L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++
DI+ D+ G+ e+ h* r y?


             reply	other threads:[~1999-02-04 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-04 14:30 Phil Pennock [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-04 18:38 Phil Pennock
1999-02-04 15:34 Bart Schaefer
1999-02-04 15:21 Peter Stephenson
1999-02-04 13:52 Andrej Borsenkow
1999-02-04 13:47 Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990204143000.A2945@fysh.org \
    --to=comet@fysh.org \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).