Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 05-30-2004, 07:35 PM   #1
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Rep: Reputation: 30
$HOME/.dir_colors ignored??

Hi all!
I would like to unalias the color settings for 'ls'. From browsing my system files, it seems /etc/DIR_COLORS is causing these colors to be added. In this file it says I can copy this to $HOME/.dir_colors, set 'COLORS' to "none", and the colors are turned off. I've done that, logged-out and in, and the colors remain. Anyone know what I'm doing wrong?? $HOME/.dir_colors has read permissions for all....
Oh this is on MDK Powerpack 10.0 Official.....
Old 05-31-2004, 11:27 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
I guess ~/.bashrc would be better for using
local alias commands for the $BASH prompt........
Old 05-31-2004, 04:24 PM   #3
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Original Poster
Rep: Reputation: 30
Thanks. I could remove my $HOME/.bashrc and replace it with /etc/bashrc, but I'd like to keep my user account as similar to everyone else's as possible. According to the documentation, I should be able to do what I want by simply copying the dir_colors file. Unless there's a bug in the documentation or code...


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
Editing /etc/DIR_COLORS does not change colours in terminal ethics Linux - General 6 02-27-2014 01:56 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
Gentoo : DIR_COLORS strange behavior Half_Elf Linux - General 5 07-22-2003 04:30 AM
how to make "less" use DIR_COLORS cpv204 Slackware 15 06-18-2003 10:05 AM
Dir_colors twk Linux - General 1 05-07-2003 12:09 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:41 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