From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id OAA01362 for ; Thu, 24 Oct 1996 14:55:37 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA23307; Thu, 24 Oct 1996 00:42:37 -0400 (EDT) Resent-Date: Thu, 24 Oct 1996 00:37:27 -0400 (EDT) From: Rusty Hoover Message-Id: <199610240437.AAA06564@panix2.panix.com> Subject: Mailpath notification message To: zsh-users@math.gatech.edu Date: Thu, 24 Oct 1996 00:37:29 -0400 (EDT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"sExSz2.0.cg5.6AlRo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/454 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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