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

Re: Resolved: Sourcing .zshrc from .zprofile causes problems



On 2004-08-14 10:31:08 -0500, lists wrote:
> I figured it out.  It was because I had
> 
> zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
> 
> before
> 
> export  
> LS_COLORS='di=36:fi=0:ln=35:pi=93:so=32:bd=34;46:cd=34;103:or=31:mi=0: 
> ex=31'
> 
> in my .zshrc file.

You should define LC_COLORS in your .zshenv file.

> Silly me. I know this is a bit off topic, but is the 'export'
> necessary/correct in the LS_COLORS definition?

Yes, as it is needed by ls.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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