From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17703 invoked from network); 19 Feb 1998 08:57:24 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 19 Feb 1998 08:57:24 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id DAA06891; Thu, 19 Feb 1998 03:48:23 -0500 (EST) Resent-Date: Thu, 19 Feb 1998 03:48:10 -0500 (EST) Message-Id: <199802190850.JAA21634@hydra.ifh.de> To: stephen.talley@Central.Sun.COM (Steve Talley), zsh-users@math.gatech.edu (Zsh users list) Subject: Re: Completion on word prefix only (tcsh-style) In-reply-to: "Steve Talley"'s message of "Wed, 18 Feb 1998 15:55:05 MET." <199802182255.PAA14533@empire.Central.Sun.COM> Date: Thu, 19 Feb 1998 09:50:10 +0100 From: Peter Stephenson Resent-Message-ID: <"acH3A.0.6h1.97_wq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1328 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > Is there an option to force zsh to only look at a prefix on > completion? This seems to be the default in tcsh, but I can't get it > to work for zsh. The command is called expand-or-complete-prefix. If you bind it to tab, you will probably get something like tcsh behaviour. > BTW, the COMPLETE_IN_WORD option sounded good but didn't do the trick. That's for when you've got something in the middle of the word missing, i.e. both the prefix and the suffix count but with insertion at point instead of the end. -- Peter Stephenson Tel: +39 50 911239 WWW: http://www.ifh.de/~pws/ Gruppo Teorico, Dipartimento di Fisica Piazza Torricelli 2, 56100 Pisa, Italy