Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
$mailpath and Maildir
- X-seq: zsh-users 4643
- From: Will Yardley <william@xxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: $mailpath and Maildir
- Date: Mon, 4 Feb 2002 22:40:19 -0800
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: New Dream Network
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author