From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9089 invoked from network); 13 Apr 2001 02:30:53 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Apr 2001 02:30:53 -0000 Received: (qmail 1972 invoked by alias); 13 Apr 2001 02:30:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13971 Received: (qmail 1942 invoked from network); 13 Apr 2001 02:30:47 -0000 Date: Thu, 12 Apr 2001 19:30:39 -0700 (PDT) From: Wayne Davison To: Zsh Workers Subject: "keep-prefix true" feature request Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'd like the "keep-prefix true" setting to work a little differently. It keeps a variable from expanding only if it is the first item in the filename, and I'd like it to avoid expanding any variable that has text after it (like the old completion system does). In other words: % # ... Normal compinit setup ... % zstyle ':completion:*:expand:*' keep-prefix true % export xpkg=/var/spool/pkg/solaris_x86 % export htd=/usr/local/etc/http/htdocs % cd ~xpkg/apache$htd/ This expands $htd, but I want to complete dirs without expansion. ...At least, it used to... Now it's just beeping at me unless I change the '~' into a '$'. I'll investigate further, but my requested feature is the same: leave the prefixed characters unchanged if there are suffix characters present (between the cursor and the variable). ..wayne..