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 RAA02021 for ; Thu, 24 Oct 1996 17:47:00 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id DAA24756; Thu, 24 Oct 1996 03:41:19 -0400 (EDT) Resent-Date: Thu, 24 Oct 1996 03:35:34 -0400 (EDT) Message-Id: <199610240735.JAA27921@hydra.ifh.de> X-Authentication-Warning: hydra.ifh.de: Host pws@localhost didn't use HELO protocol To: zsh-users@math.gatech.edu (Zsh users list), Rusty Hoover Subject: Re: Mailpath notification message In-reply-to: "Rusty Hoover"'s message of "Thu, 24 Oct 1996 00:37:29 MET." <199610240437.AAA06564@panix2.panix.com> Date: Thu, 24 Oct 1996 09:35:22 +0200 From: Peter Stephenson Resent-Message-ID: <"0cgJZ2.0.F16.5nnRo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/456 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Rusty Hoover wrote: > 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? The mistake is that the ~'s are quoted, so don't expand to your home directory: try `echo ~ "~"' and you will see what I mean. You need something like: export MAILPATH=~/.mailspool/rusty:~/Mail/z'?Zsh mail.' (zsh does know about assignments and colons when expanding ~'s). This is partly my fault: I had something in the FAQ when the shell was rationalised to quote tildes in this sort of place, but deleted it when I thought it was no longer necessary. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.