From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10597 invoked from network); 18 Feb 1998 23:05:06 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 Feb 1998 23:05:06 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id RAA00354; Wed, 18 Feb 1998 17:54:20 -0500 (EST) Resent-Date: Wed, 18 Feb 1998 17:53:35 -0500 (EST) Date: Wed, 18 Feb 1998 15:55:05 -0700 From: stephen.talley@Central.Sun.COM (Steve Talley) Message-Id: <199802182255.PAA14533@empire.Central.Sun.COM> To: zsh-users@math.gatech.edu Subject: Completion on word prefix only (tcsh-style) X-Sun-Charset: US-ASCII Resent-Message-ID: <"jOOM92.0.f4.kPswq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1326 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi, 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. Example: Suppose there is a lone file blah.txt in the current dir: % ls ./ ../ blah.txt If I hit [TAB] in the following example, with the cursor over the first x, I get a beep and no completion. % ls blxxx ^ In tcsh, however, it completes to: % ls blah.txt xxx ^ And keeps the cursor over the first x. Basically what tcsh does is assume that the word suffix (anything after the cursor) is a different word, and just completes on the word prefix. Is there a way to get zsh to do this too? BTW, the COMPLETE_IN_WORD option sounded good but didn't do the trick. Thanks, Steve