View previous topic :: View next topic |
Author |
Message |
storm_rider n00b
Joined: 18 Aug 2004 Posts: 15 Location: Townsville, Australia
|
Posted: Sun Nov 07, 2004 11:16 am Post subject: bash: dircolors: command not found |
|
|
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 |
|
|
nightm4re Guru
Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Sun Nov 07, 2004 2:18 pm Post subject: |
|
|
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 |
|
|
storm_rider n00b
Joined: 18 Aug 2004 Posts: 15 Location: Townsville, Australia
|
Posted: Mon Nov 08, 2004 1:10 pm Post subject: No Joy |
|
|
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 |
|
|
nightm4re Guru
Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Mon Nov 08, 2004 2:27 pm Post subject: Re: No Joy |
|
|
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 |
|
|
blue.sca l33t
Joined: 28 Aug 2003 Posts: 680 Location: Mainz, Germany
|
Posted: Mon Nov 08, 2004 3:03 pm Post subject: |
|
|
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 |
|
|
|