From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29269 invoked from network); 26 Apr 2001 15:44:16 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Apr 2001 15:44:16 -0000 Received: (qmail 29352 invoked by alias); 26 Apr 2001 15:44:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14124 Received: (qmail 29333 invoked from network); 26 Apr 2001 15:44:05 -0000 Date: Thu, 26 Apr 2001 08:43:36 -0700 (PDT) From: Wayne Davison To: Subject: Re: Another keep-prefix problem In-Reply-To: <3AE83054.3BE06044@u.genie.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 26 Apr 2001, Oliver Kiddle wrote: > For _expand I use the glob 1, substitute 1, suffix 1, accept-exact > false and tag-order all-expansions styles. keep-prefix changed is > the default so that too. > > To test I did: > c1=/home > c3=cvs > Now, > cd $c1/kiddleo/$c3/ expands both $c1 and $c3 which I don't want. > Having typed the / after $c3, I expect it to complete subdirectories > in my ~/cvs and not do expansion. Yeah, I've been meaning to mention this too. Sven's recent change only affected the keep-prefix code, but not the "suffix" setting. Your example would also fail if you just had the $c3 variable (i.e. any variable not at the start of the word). I would like the default setting of "suffix 1" to work like the "expand-or-complete" code's expander in this regard. ..wayne..