LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   zsh, dircolors, and LS_COLORS (https://www.linuxquestions.org/questions/slackware-14/zsh-dircolors-and-ls_colors-605288/)

MikeDawg 12-07-2007 07:36 PM

zsh, dircolors, and LS_COLORS
 
Hi all,

I'm not a genius when it comes to zsh, but I have a decent "custom" setup, and I'm really liking the shell, and have actually been using it for quite a while.

I may have, at this point compiled a new version of zsh from hand (this may be the problem, but don't discount the rest of what I say on this).

I've run into the problem where ls --color=auto(or always) won't produce a lot of the file colors that I normally look for under bash. I have noticed, doing a `set | egrep -ia ls_color` doesn't show a environment variable.

Which also leads me to ask, why, when using zsh, can't I do a `set | egrep -i` without egrep telling me that it is reading a binary file?

Using the bash shell, colors work properly, and there is an environment variable LS_COLORS.

Is the Slackware version of zsh patched to work with dircolors?

Thanks

gnashley 12-08-2007 04:36 AM

You need to have a look at /etc/profile.d/coreutils-dircolors.sh for starters.


All times are GMT -5. The time now is 05:24 AM.