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

Re: Problem with ZLS_COLOURS (zsh-3.1.6-test-2)



Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> Thomas Koehler wrote:
> 
> > jean-luc@picard (ttyp5) ~> ls <TAB>
> > zsh: do you wish to see all 154 possibilities? 
> > -> works, shows all in the desired colours
> > 
> > jean-luc@picard (ttyp5) ~> ls <TAB>
> > zsh: do you wish to see all 154 possibilities? y
> > jean-luc@picard (ttyp5) ~> ls a<TAB>
> > -> works, shows all 3 matches in cyan as desired
> > 
> > jean-luc@picard (ttyp5) ~> ls a<TAB>
> > -> doesn't work, shows all 3 matches uncoloured
> > 
> > Any hints what goes wrong? Did I miss an option or is this really a bug?
> 
> Hm, I can't reproduce this. For me this always correctly colours the
> list. Could you try to reproduce it with a very simple setup (e.g. in
> a directory with only a couple of files which I could then create
> here)?

jean-luc@picard (ttyp9) ~/zsh> ls <TAB>
URLs        _make       foo/        zsh_a4.ps             
jean-luc@picard (ttyp9) ~/zsh> ls

-> URLs and _make are uncoloured, foo/ is green as expected, zsh_a4.ps
is cyan as expected.

Ah. I think the problem is the first few matches that fit in the "normal
file" highlightning. After the first directory name, everything is OK,
before, it isn't.

Tried with this .zshrc:

--------------
setopt autolist
ZLS_COLOURS="no=36;40:fi=36;40:di=32;40:ln=36;40:pi=31;40:so=22;40:bd=44;37:cd=44;37:ex=35;40:mi=36;40:lc=\e[:rc=m:ec=:ma=37;41:*=36;40"
export ZLS_COLOURS
--------------

> Bye
>  Sven

CU,
Thomas

-- 
    Thomas Köhler    Email:     jean-luc@xxxxxxxxxxxxxxxxx
        <><           WWW:    http://home.pages.de/~jeanluc/
                      IRC:               jeanluc
      LCARS --- Linux for Computers on All Real Starships



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