Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Mailpath notification message
- X-seq: zsh-users 454
- From: Rusty Hoover <rusty@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Mailpath notification message
- Date: Thu, 24 Oct 1996 00:37:29 -0400 (EDT)
Shouldn't this line:
export MAILPATH="~/.mailspool/rusty:~/Mail/z?Zsh mail."
in my .zshenv give me, whenever i return to my
command-line prompt, the message: "Zsh mail." ?
It doesn't. What am i doing wrong? Do i need spaces around the question
mark?
>From the zsh man:
mailpath (MAILPATH) An array (colon-separated list) of filenames to check
for new mail. Each filename can be followed by a ? and a
message that will be printed. The message will undergo
parameter expansion, command substitution and arithmetic
substitution with the variable $_ defined as the name of the
file that has changed. The default message is "You have new
mail." If an element is a directory instead of a file the
shell will recursively check every file in every
subdirectory of the element.
--
Rusty Hoover
rusty@xxxxxxxxx
mqw@xxxxxxxx
rjh@xxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author