From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id HAA02667 for ; Wed, 6 Nov 1996 07:39:12 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA28529; Tue, 5 Nov 1996 15:27:50 -0500 (EST) Resent-Date: Tue, 5 Nov 1996 15:15:14 -0500 (EST) X-Authentication-Warning: faraday.clas.Virginia.EDU: nmj3e owned process doing -bs Date: Tue, 5 Nov 1996 15:13:50 -0500 (EST) From: Nate Johnston X-Sender: nmj3e@faraday.clas.Virginia.EDU To: zsh-users@math.gatech.edu Subject: Re: Mailpath notification message In-Reply-To: Message-ID: X-URL: http://128.143.22.134/~nmj3e/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"rlqiW2.0.7r6.I1wVo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/491 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Quite a while ago, there was a person asking how to string long lines into his MAILPATH. This is (approximately) what was written as an answer, perhaps by Mr. Stephenson (if I remember truly). setopt magic_equal_subst # for `export foo=~/bar` function export() { EXPORT=${1%%\=*} ; typeset -Ux $* } function +() { eval builtin export ${EXPORT}=\$\{$EXPORT\}:\$1 } # some stuff snipped export MAILPATH= "~/mail/in/inbox?Mail in folder 1" + "~/.samizdat/in/inbox?Mail in filder 2" # more snipped unfunction export + This used to work for me. Now however, I get the message that the second one (~/.samizdat..etc) is not an identifier. I am puzzled, as I loved this little tool to work on my many mail spools. How might this be made to work? This is zsh 3.0.0 --N.