zsh-users
 help / color / mirror / code / Atom feed
* $mailpath and Maildir
@ 2002-02-05  6:40 Will Yardley
  2002-02-05  7:02 ` Joakim Ryden
  0 siblings, 1 reply; 4+ messages in thread
From: Will Yardley @ 2002-02-05  6:40 UTC (permalink / raw)
  To: zsh-users

is there any way to make expansion of the directory name (using $_) work
properly with Maildir folders?

from the zsh man page under "mailpath":

   The message  will  undergo parameter expansion, command substitution
   and  arithmetic  expansion  with  the variable  $_  defined  as the
   name of the file that has changed.

however if i put:
mailpath=($HOME/Maildir\?"New mail." ~/mail/\?"New mail in $_. ")

in my .zshrc,
the message I get is:

New mail in path.

Same if i do something like:
mailpath=($HOME/Maildir\?"New mail." ~/mail/ndn:cron\?"New mail in $_.")

zugzug% echo $ZSH_VERSION
4.0.4

am i doing something wrong? if not, is there a way to make this work
anyway?

w


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

end of thread, other threads:[~2002-02-05  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-05  6:40 $mailpath and Maildir Will Yardley
2002-02-05  7:02 ` Joakim Ryden
2002-02-05  7:08   ` Will Yardley
2002-02-05  9:01     ` Joakim Ryden

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