Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-07-2007, 07:36 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Colorado
Distribution: Slackware, CentOS, Fedora, Kali
Posts: 29

Rep: Reputation: 15
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?

Old 12-08-2007, 04:36 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,855

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
You need to have a look at /etc/profile.d/ for starters.


dircolors, slackware, zsh

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
login shell, 'ls', and LS_COLORS soldan Linux - General 5 03-21-2007 06:36 PM
dircolors in freebsd d0wn_under *BSD 4 10-08-2004 05:58 AM
dircolors error erikm103 Linux - Software 0 12-07-2003 11:01 PM
Aterm and dircolors Wynd Linux - Software 1 06-21-2003 11:28 PM
Should I use dircolors? Xiangbuilder Linux - General 4 04-08-2003 08:53 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration