From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15271 invoked from network); 25 Feb 2002 09:54:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Feb 2002 09:54:44 -0000 Received: (qmail 12159 invoked by alias); 25 Feb 2002 09:54:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4690 Received: (qmail 12144 invoked from network); 25 Feb 2002 09:54:30 -0000 Message-ID: <20020225095425.41455.qmail@web9305.mail.yahoo.com> Date: Mon, 25 Feb 2002 09:54:25 +0000 (GMT) From: =?iso-8859-1?q?Oliver=20Kiddle?= Subject: Re: Completing comma seprated list of option values in _atguments To: Sven Wischnowsky , zsh-users@sunsite.dk In-Reply-To: <15481.64476.314684.446454@wischnow.berkom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --- Sven Wischnowsky wrote: > compset -P '*,' > _wanted foos expl foo compadd -qS, calculated values Though this and the example which followed it don't really handle a suffix. I'd stick compset -S ',*' || suf=(-qS,) between those two lines. I'd use _values here though unless you're coming up against bugs. Oliver __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com