From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@sunsite.dk
Subject: zlogout not finishing when errors
Date: Tue, 23 Mar 2004 19:49:17 +0100 [thread overview]
Message-ID: <i2q9pr3cuozm.dlg@thorstenkampe.de> (raw)
[zsh 4.1.1]
If have put some "cp" commands in my .zlogout. Some files are
sometimes "nonexistant" - depending on the host and the mounts. So I
simply wanted to redirect stderr to /dev/null.
To my surprise when of these commands errors ("cp nonexistant_file
destination") the rest of .zlogout is not read. So I had to put a "if
[[ -r $file ]]" into .zlogout to make this file finish until the end.
Of course this is not the behaviour of the other rcfiles (.zprofile,
.zshrc, etc.).
So my question is: is this a known thing (a bug or a feature)?
Thorsten
next reply other threads:[~2004-03-23 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-23 18:49 Thorsten Kampe [this message]
2004-03-23 20:30 ` Thorsten Kampe
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=i2q9pr3cuozm.dlg@thorstenkampe.de \
--to=thorsten@thorstenkampe.de \
--cc=zsh-users@sunsite.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).