Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion question



On Wed, Jul 04, 2001, Andrej Borsenkow wrote about "RE: completion question":
> 
> > /---  On Wed,  Jul  04, 2001  at  03:10:46PM  +0400, Andrej  Borsenkow
> > wrote:
> > | setopt completeinword
> > \---
> >
> > It does  not exactly  work as  I want... It  simply does  nothing. (at
> > least in zsh 4.0.2, debian sid). :-(
> >
> ... it works; do you use vi or emacs bindings? Do you use old (compctl) or
> new completion? Does it work with zsh -f (as above)?

Maybe what is bothering him is that if you do

     /u_local/
       ^--- cursor (no space)
and press TAB, nothing is completed. If you enter a slash, however, it works:

    /u/_local/          (or /u_/local/)
is completed to
    /usr/local/

But if you don't type in that extra slash explicitly, completeinword doesn't
seem to be doing what he wants.

-- 
Nadav Har'El                        |   Wednesday, Jul  4 2001, 13 Tammuz 5761
nyh@xxxxxxxxxxxxxxxxxxx             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Don't be irreplaceable. If you can't be
http://nadav.harel.org.il           |replaced, you can't be promoted.



Messages sorted by: Reverse Date, Date, Thread, Author