LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-07-2007, 07:36 PM   #1
MikeDawg
LQ Newbie
 
Registered: Mar 2004
Location: Nevada
Distribution: Slackware, CentOS
Posts: 23

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?

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

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


Reply

Tags
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


All times are GMT -5. The time now is 01:45 AM.

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