Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Mailpath notification message
- X-seq: zsh-users 455
- From: Jason L Tibbitts III <tibbs@xxxxxxxxxx>
- To: Rusty Hoover <rusty@xxxxxxxxx>
- Subject: Re: Mailpath notification message
- Date: 24 Oct 1996 00:20:43 -0500
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Rusty Hoover's message of Thu, 24 Oct 1996 00:37:29 -0400 (EDT)
- References: <199610240437.AAA06564@xxxxxxxxxxxxxxxx>
>>>>> "RH" == Rusty Hoover <rusty@xxxxxxxxx> writes:
RH> It doesn't. What am i doing wrong? Do i need spaces around the question
RH> mark?
I struggled with this for a little while, and came up with the following:
mailpath=(
/var/mail/tibbs\?'New unfiltered mail.'
~/Mail/spool\?'New spooled mail: ${${_%.spool}#/home/tibbs/Mail/spool/}.'
)
I have something like fifty mail spools, each looking like
/home/tibbs/spool/zsh.spool. This will report "New unfiltered mail" for
mail in the system spool directory, and will extract the name of the spool
form the other spool directories.
--
Jason L. Tibbitts III - tibbs@xxxxxx - 713/743-8684 - 221SR1
System Manager: University of Houston High Performance Computing Center
1994 PC800 "Kuroneko" DoD# 1723
Messages sorted by:
Reverse Date,
Date,
Thread,
Author