View previous topic :: View next topic |
Author |
Message |
MrIncredible n00b
Joined: 16 Oct 2005 Posts: 26
|
Posted: Mon Oct 17, 2005 11:02 pm Post subject: No directory colors |
|
|
I have searched everywhere...
Theres a /etc/bash/bashrc that does all kinds of fancy things
But I cant get this automated... everytime I have to run
"dircolors"
and
"alias ls='ls --color'"
Manually! What is the correct way to fix this? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Oct 18, 2005 12:00 am Post subject: |
|
|
You could put those commands in the /etc/bash/bashrc and they should be run automagically for you... _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
MrIncredible n00b
Joined: 16 Oct 2005 Posts: 26
|
Posted: Tue Oct 18, 2005 2:56 am Post subject: |
|
|
Tried that
Also ~/.bashrc
Doesnt work! I put as the first command "dircolors"
and then "alias ls='ls --color '
Bash still doesnt do anything.
I've tried manuall going "export LS_COLORS=waddahwaddah"
as dircolors do, in bashrc
Still nothing..
Isn't this supposed to work "off-the-shelf"? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Oct 18, 2005 4:13 am Post subject: |
|
|
it works off the shelf here...
do you have a ~/.bash_profile
What terminal(s) have you tried to get this to work? or is this on the console ? _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
MrIncredible n00b
Joined: 16 Oct 2005 Posts: 26
|
Posted: Tue Oct 18, 2005 4:31 am Post subject: |
|
|
Well, I just got X running and I see it's fine in all my x terminals...
Just the plain text consoles vt/0 .. 6 |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Tue Oct 18, 2005 4:41 am Post subject: |
|
|
If you look at man bash you will find the order of file execution for various methods of starting a shell.. I think you are missing something in one of the listed rc files in the bash man page that that is preventing colors for being used by default... _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
krakrjak n00b
Joined: 08 Feb 2004 Posts: 20
|
Posted: Tue Oct 18, 2005 7:36 am Post subject: |
|
|
It is also a problem with new installs for the root user. Usually if you create new users using the -m option then they will get all the files from /etc/skel however on gentoo installations the root user is left out in the cold. try this cd /root cp /etc/skel[.][!.]* .
That should put the gentoo defaults in even for the root user and when root logs in he should have colors. Also the ls --colors is ls --color=auto|always|none.
Good Luck! |
|
Back to top |
|
|
MrIncredible n00b
Joined: 16 Oct 2005 Posts: 26
|
Posted: Tue Oct 18, 2005 12:20 pm Post subject: |
|
|
Aww! Stunning! That must be it...
I never bothered adding other users.. yet!
How about we get this fixed/included in the gentoo install manual? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Oct 18, 2005 2:05 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
not an installation problem _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|