zsh-users
 help / color / mirror / code / Atom feed
From: Will Yardley <william@hq.newdream.net>
To: zsh-users@sunsite.dk
Subject: $mailpath and Maildir
Date: Mon, 4 Feb 2002 22:40:19 -0800	[thread overview]
Message-ID: <20020205064019.GA28069@hq.newdream.net> (raw)

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


             reply	other threads:[~2002-02-05  6:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-05  6:40 Will Yardley [this message]
2002-02-05  7:02 ` Joakim Ryden
2002-02-05  7:08   ` Will Yardley
2002-02-05  9:01     ` Joakim Ryden

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=20020205064019.GA28069@hq.newdream.net \
    --to=william@hq.newdream.net \
    --cc=zsh-users@sunsite.dk \
    /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).