Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug? - how to skip precmd
- X-seq: zsh-users 11882
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: bug? - how to skip precmd
- Date: Wed, 26 Sep 2007 21:29:52 +1200 (NZST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
if i run a simple command followed by:
&& return
or
&& return n
my precmd is ignored. that's just weird...
of course, if the simple command returns a non-zero exit status, then the
behavior can be duplicated with:
|| return [n]
FreeBSD 6.2-RELEASE
zsh-4.3.4_1
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"The reasonable man adapts himself to the world; the
unreasonable one persists in trying to adapt the world to
himself. Therefore all progress depends on the
unreasonable man."
-- George Bernard Shaw
Messages sorted by:
Reverse Date,
Date,
Thread,
Author