seebi / dircolors-solarized

This is a repository of themes for GNU ls (configured via GNU dircolors) that support Ethan Schoonover’s Solarized color scheme.
http://ethanschoonover.com/solarized
MIT License
2.84k stars 452 forks source link

Can't apply dircolors on login #42

Closed trathod99 closed 10 years ago

trathod99 commented 10 years ago

I have added "eval $(dircolors ~/.dircolors)" to my .zshrc, but the LS_COLORS environment variable is still empty when I log in and the colors don't change. But if I run the exact same eval command outside of my .zshrc (in the shell), the colors apply and everything works fine. Why is this?

trathod99 commented 10 years ago

I fixed it by adding the eval command to .zshenv instead of .zshrc. I don't know why this worked but you may want to add it to your README in case someone else runs into the issue.