Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash: dircolors: command not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
storm_rider
n00b
n00b


Joined: 18 Aug 2004
Posts: 15
Location: Townsville, Australia

PostPosted: Sun Nov 07, 2004 11:16 am    Post subject: bash: dircolors: command not found Reply with quote

I get
Code:
 bash: dircolors: command not found
everytime i open a terminal... and my colours aren't being evaluated... I have some colour with ls but not as they are set out in my DIR_COLORS file.

when i execute dircolors from the command line its outputs the contents of /etc/DIR_COLORS (as expected) ...

Any help with this would be appreciated - I have searched extensively and its becoming quite annoying
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Sun Nov 07, 2004 2:18 pm    Post subject: Reply with quote

are you having trouble with anything else?

i did a "which dircolors" and got it in /bin, so then i used qpkg to figure out what package put it there..
Code:

~ $ qpkg -f /bin/dircolors                                       
sys-apps/coreutils *


so either check /bin to see if its there, then check your path (although that should be fine if you are actualy getting into a shell). If none of those come up with anything, maybe try re-emerging coreutils.
_________________
Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net
Back to top
View user's profile Send private message
storm_rider
n00b
n00b


Joined: 18 Aug 2004
Posts: 15
Location: Townsville, Australia

PostPosted: Mon Nov 08, 2004 1:10 pm    Post subject: No Joy Reply with quote

yeah dircolors is there in /bin - as i said previously it works fine from the shell...

I reemerged coreutils - no luck there either...

if i remove the line
Code:
eval `dircolors -b /etc/DIR_COLORS`
in my .bashrc

the message
Code:
bash: dircolors: command not found
goes away
but this is not really what i'm looking for as my colours are not evaluated...
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Mon Nov 08, 2004 2:27 pm    Post subject: Re: No Joy Reply with quote

Quote:

if i remove the line
Code:
eval `dircolors -b /etc/DIR_COLORS`
in my .bashrc
the message
Code:
bash: dircolors: command not found
goes away


yeah, forgot to put that in my previous reply. i knew you could do that, but like you said, doesnt fix the problem.


the only thing i can think of trying right now is seeing if your path is set appropriately at that point in your bashrc. try sticking an echo $PATH right above the eval line. of course don't leave it in there, cuz it breaks scp (as noted in the header of the stock .bashrc.. hehe).
_________________
Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Mon Nov 08, 2004 3:03 pm    Post subject: Reply with quote

Code:
blue blue: which dircolors
/usr/bin/dircolors


perhaps try giving the full path...
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum