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

Re: list-dirs-first bug



On 10/25/19, sergio <sergio@xxxxxxxxxxxxx> wrote:
> Hello.
>
> I still have the problem with list-dirs-first that I reported at
> 2011-06-02:
>
> % mkdir test
> % cd test
> % mkdir test test\ II # two big 'i'
> % mkdir test/1 test/2
> % touch test\ II/qwe
> % ls test/<TAB>
> 1/  2/
> qwe
>
> If I comment this string:
> zstyle ':completion:*' list-dirs-first true
> all works as expected.

What part of the above is not as expected? (I'm assuming that if you
tab to the qwe entry, then test/ is also changed to test\ II/). Maybe
you want to set
zstyle ':completion:*' accept-exact-dirs 'yes'

-- 
Mikael Magnusson



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