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

Re: When GLOB_COMPLETE is on, tab completion does not work with path containing hyphens



Mikael Magnusson wrote on Mon, 09 Dec 2019 09:23 +00:00:
> On 12/9/19, Felix.Chen <felix.chen@xxxxxxxxxxxxxxxxxx> wrote:
> > % mkdir a-b
> >
> > % touch a-b/{c,d}
> >
> >
> >
> > Type 'ls a-b' without quotes and press tab multiple times, zsh will cycle
> > through 'ls a-b/c' and 'ls a-b/d'.
> >
> > But if GLOB_COMPLETE is on, zsh only complete up to 'a-b/'.
> 
> Hi,
> 
> It works fine here, are you using an old version of zsh? (current
> version is 5.7.1)

I can reproduce it in 'zsh -f' + 'setopt GLOB_COMPLETE' but can't
reproduce it if I then run compinit, in current(ish) master.



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