From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18923 invoked from network); 5 Feb 2002 06:40:38 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Feb 2002 06:40:38 -0000 Received: (qmail 22288 invoked by alias); 5 Feb 2002 06:40:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4643 Received: (qmail 22277 invoked from network); 5 Feb 2002 06:40:22 -0000 Date: Mon, 4 Feb 2002 22:40:19 -0800 From: Will Yardley To: zsh-users@sunsite.dk Subject: $mailpath and Maildir Message-ID: <20020205064019.GA28069@hq.newdream.net> Mail-Followup-To: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.0i 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