zsh-users
 help / color / mirror / code / Atom feed
* Mailpath notification message
@ 1996-10-24  4:37 Rusty Hoover
  1996-10-24  5:20 ` Jason L Tibbitts III
  1996-10-24  7:35 ` Peter Stephenson
  0 siblings, 2 replies; 8+ messages in thread
From: Rusty Hoover @ 1996-10-24  4:37 UTC (permalink / raw)
  To: zsh-users

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@panix.com
  mqw@inch.com
  rjh@well.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1996-11-06  6:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-24  4:37 Mailpath notification message Rusty Hoover
1996-10-24  5:20 ` Jason L Tibbitts III
1996-11-05 20:13   ` Nate Johnston
1996-11-05 21:19     ` Bart Schaefer
1996-11-06  5:56       ` Dan Nelson
1996-10-24  7:35 ` Peter Stephenson
1996-10-24  8:41   ` Duncan Sargeant
1996-10-24  9:11     ` Peter Stephenson

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).