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

Re: colors in zsh



olav@xxxxxxxxxx said:
> It does not pertain the color settings from "tcsh" underneath, and 
> also when doing "eval `dircolors`", the eval inserts "setenv" and 
> stuff that "zsh" does not understand. 

I don't know what's happening to stop it from inheriting the colours from 
tcsh, but within zsh you can do:

eval `dircolors -b`

since zsh understands Bourne-shell syntax.

olav@xxxxxxxxxx said:
> Do you know how I can make "zsh" give different colors to files, 
> directories, links, file types, etc? 

I assume you mean in completions and things.  There is a patch for this, using 
pretty much the bits grabbed from the colour-ls, but it was felt to be too big 
to put in the core of zsh.  There were threats that it might become possible 
to add this kind of thing as a module, which would be acceptable, but I'm not 
sure that it's possible yet, and I haven't seen it done.




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