From: Peter Stephenson <pws@ifh.de>
To: zsh-users@math.gatech.edu (Zsh users list),
Rusty Hoover <rusty@panix.com>
Subject: Re: Mailpath notification message
Date: Thu, 24 Oct 1996 09:35:22 +0200 [thread overview]
Message-ID: <199610240735.JAA27921@hydra.ifh.de> (raw)
In-Reply-To: "Rusty Hoover"'s message of "Thu, 24 Oct 1996 00:37:29 MET." <199610240437.AAA06564@panix2.panix.com>
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 <pws@ifh.de> 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.
next prev parent reply other threads:[~1996-10-24 7:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-24 4:37 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 [this message]
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=199610240735.JAA27921@hydra.ifh.de \
--to=pws@ifh.de \
--cc=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).