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

Re: 'remove slash' bug



On Jun 15, 12:34pm, Timothy J Luoma wrote:
> 
> $ cd /usr/loca/bin
> 
> left-arrow over to between the "c" and "a" in "loca" and hit tab -- NOTHING.
> 
> left-arrow over to between the "a" and "/" in "loca/bin" and hit tab --  
> completed to the end and cursor goes to the end of "/bin/"
> 
> Shouldn't the cursor between the "c" and the "a" be enough?

It is if you have glob_complete set.  Without glob_complete, the stuff to
the right of the cursor has to match exactly.  (Think of completion as if
it inserted a "*" at the cursor and then expanded the word.  When you set
glob_complete, it also sticks a "*" at the end of the word and tries again.)



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