zsh-users
 help / color / mirror / code / Atom feed
From: Rusty Hoover <rusty@panix.com>
To: zsh-users@math.gatech.edu
Subject: Mailpath notification message
Date: Thu, 24 Oct 1996 00:37:29 -0400 (EDT)	[thread overview]
Message-ID: <199610240437.AAA06564@panix2.panix.com> (raw)

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


             reply	other threads:[~1996-10-24  4:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-24  4:37 Rusty Hoover [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199610240437.AAA06564@panix2.panix.com \
    --to=rusty@panix.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).