From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17409 invoked from network); 15 Jun 1998 22:17:26 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Jun 1998 22:17:26 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id SAA21248; Mon, 15 Jun 1998 18:13:21 -0400 (EDT) Resent-From: "Bart Schaefer" Resent-Message-Id: <980615150411.ZM5873@candle.brasslantern.com> Resent-Date: Mon, 15 Jun 1998 15:04:11 -0700 X-Mailer: Z-Mail Lite (5.0.0 30July97) Resent-To: zsh-users@math.gatech.edu From: "Bart Schaefer" Message-Id: <980615150330.ZM5864@candle.brasslantern.com> Date: Mon, 15 Jun 1998 15:03:30 -0700 In-Reply-To: <19980615154050.42933@bleep.ishiboo.com> Comments: In reply to Danny Dulai "Re: 'remove slash' bug" (Jun 15, 3:40pm) References: <199806141357.NAA02238@tgape.ed.vnet> <980614141639.ZM315@candle.brasslantern.com> <19980615094927.A24448@mail.kappa.ro> <199806151634.MAA27418@luomat.peak.org> <980615112848.ZM5194@candle.brasslantern.com> <19980615154050.42933@bleep.ishiboo.com> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: Bart Schaefer , Danny Dulai Subject: Re: 'remove slash' bug Cc: Timothy J Luoma MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailing-List: archive/latest/1623 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jun 15, 3:40pm, Danny Dulai wrote: > Subject: Re: 'remove slash' bug > Quoting Bart Schaefer (schaefer@brasslantern.com): > > On Jun 15, 12:34pm, Timothy J Luoma wrote: > > > > > > $ cd /usr/loca/bin > > > > > > Shouldn't the cursor between the "c" and the "a" be enough? > > > > It is if you have glob_complete set. I apologize; that statement is completely (ahem) wrong. My only excuse is that I don't use glob_complete myself and I didn't check my facts because I was in a hurry today. I hate being misleading; forgive me. To try to make up for it ... > cd /usr/loca/bin/ > > If the cursor is on the /, after the loca, and i hit tab, it beeps and > puts the cursor after the last /. > > In bash, this will complete the loca to local. Is there any way to achive > this result in zsh? This one, however, I can answer correctly: setopt completeinword > Also, if you move the cursor over the c in loca and hit tab in bash, it > will give me two choices, local and lost+found. Any way to do this in > zsh? Re-bind the TAB key to expand-or-complete-prefix, rather than binding it to expand-or-complete.