Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'remove slash' bug
- X-seq: zsh-users 1623
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Danny Dulai <nirva@xxxxxxxxxxx>
- Subject: Re: 'remove slash' bug
- Date: Mon, 15 Jun 1998 15:03:30 -0700
- Cc: Timothy J Luoma <luomat+Lists/Zsh/workers@xxxxxxxxxxxxxxx>
- In-reply-to: <19980615154050.42933@xxxxxxxxxxxxxxxxx>
- References: <199806141357.NAA02238@xxxxxxxxxxxxx> <980614141639.ZM315@xxxxxxxxxxxxxxxxxxxxxxx> <19980615094927.A24448@xxxxxxxxxxxxx> <199806151634.MAA27418@xxxxxxxxxxxxxxx> <980615112848.ZM5194@xxxxxxxxxxxxxxxxxxxxxxx> <19980615154050.42933@xxxxxxxxxxxxxxxxx>
On Jun 15, 3:40pm, Danny Dulai wrote:
> Subject: Re: 'remove slash' bug
> Quoting Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx):
> > 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author