Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: duplicate printexitvalue with mailcheck
- X-seq: zsh-workers 19189
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: duplicate printexitvalue with mailcheck
- Date: Tue, 14 Oct 2003 14:59:47 +0000
- In-reply-to: <20031013023510.GA11368@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20031013023510.GA11368@xxxxxxxxxxxxxxx>
On Oct 12, 7:35pm, Dylan Alex Simon wrote:
} Subject: duplicate printexitvalue with mailcheck
}
} The printexitvalue option shows multiple exit values when MAILPATH/MAILCHECK
} is set and new mail is found.
I'm not able to reproduce this, but I suspect that it shows multiple exit
values when the mail check contains a call to an external command:
} MAILPATH='/home/dylan/mail?New mail in `basename $_`'
^^^^^^^^^^^^^
If you change that to
MAILPATH='/home/dylan/mail?New mail in $_:t'
what happens?
(Might need ${_:t} if you're using some ksh emulation options.)
If that doesn't change anything, you'll need to tell us more about your
environment, such as whether you have a precmd and what it does, whether
you have any TRAPxxx functions defined, etc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author