From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1139 invoked from network); 6 Jun 2000 09:23:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jun 2000 09:23:49 -0000 Received: (qmail 12197 invoked by alias); 6 Jun 2000 09:23:15 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3116 Received: (qmail 12189 invoked from network); 6 Jun 2000 09:23:15 -0000 Date: Tue, 6 Jun 2000 11:22:25 +0200 From: Vincent Lefevre To: zsh-users@sunsite.auc.dk Subject: Re: blah*[TAB] (difference between 3.1.6 and 3.1.9) Message-ID: <20000606112224.A27665@vin.ens-lyon.fr> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20000606030750.A12454@vin.ens-lyon.fr> <1000606032038.ZM25884@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: <1000606032038.ZM25884@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Tue, Jun 06, 2000 at 03:20:38AM +0000 X-Mailer-Info: http://www.vinc17.org/mutt_eng.html Content-Transfer-Encoding: 8bit On Tue, Jun 06, 2000 at 03:20:38 +0000, Bart Schaefer wrote: > 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 If I use this (at the end of my .zshrc), variable names completion doesn't work any longer. For instance, I type "echo $ZSH_V": Et encore? echo $ZSH_V then [TAB], and I get: Et encore? echo # $ZSH_V where '#' represents the cursor. -- Vincent Lefèvre - Web: - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Computer science / computer arithmetic / Arénaire project at LIP, ENS-Lyon