From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23919 invoked from network); 6 Jun 2000 03:23:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jun 2000 03:23:11 -0000 Received: (qmail 24430 invoked by alias); 6 Jun 2000 03:22:25 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3114 Received: (qmail 24422 invoked from network); 6 Jun 2000 03:22:24 -0000 From: "Bart Schaefer" Message-Id: <1000606032038.ZM25884@candle.brasslantern.com> Date: Tue, 6 Jun 2000 03:20:38 +0000 In-Reply-To: <20000606030750.A12454@vin.ens-lyon.fr> Comments: In reply to Vincent Lefevre "blah*[TAB] (difference between 3.1.6 and 3.1.9)" (Jun 6, 3:07am) References: <20000606030750.A12454@vin.ens-lyon.fr> X-Mailer: Z-Mail (5.0.0 30July97) To: Vincent Lefevre , zsh-users@sunsite.auc.dk Subject: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 6, 3:07am, Vincent Lefevre wrote: } Subject: blah*[TAB] (difference between 3.1.6 and 3.1.9) } } Consider a directory where there are two files blah1 and blah2. With } zsh 3.1.6, when I typed blah* followed by a tab, "blah1 blah2 " was } generated (with a space after blah2). With zsh 3.1.9, "blah1 blah2" } is generated (with *no* space after blah2). } } How can I have the old behavior (much more logical IMHO)? Something's definitely gone wrong with expand-or-complete. This was not intentional. As a workaround, the following should behave the way you want: bindkey '\t' complete-word autoload -U compinit compinit zstyle ':completion:*' completer _expand _complete zstyle ':completion:*:expand:::' glob 1 zstyle ':completion:*:expand:::' substitute 1 If you have some customized compctl commands, you may also want: zstyle ':completion:*' use-compctl 1 The above consititutes pretty much the minimal set of commands to emulate the default behavior of expand-or-complete in 3.1.6 and earlier versions while using the new completion system. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net