View previous topic :: View next topic |
Author |
Message |
kos Guest
|
Posted: Sun Jul 28, 2002 7:24 pm Post subject: console colors prob |
|
|
Hi,
I dont have console colors, maybe its gentoo default or its because i installed from the boot floppy tomsrtbt.
When i do #ls the files, directories etc.. are white
Where i can fix this and how? |
|
Back to top |
|
|
thekillerbean n00b
Joined: 24 Jul 2002 Posts: 29
|
Posted: Sun Jul 28, 2002 7:37 pm Post subject: |
|
|
Code: |
ls [options] --color
|
you can place this in an alias
Code: |
alias ls='ls [options] --color'
|
of course, change the [options] to whatever you like. |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Sun Jul 28, 2002 10:13 pm Post subject: Re: console colors prob |
|
|
kos wrote: | I dont have console colors, maybe its gentoo default or its because i installed from the boot floppy tomsrtbt. |
do an ls -la in your home directory and see if you have your .bashrc and .bash_profile files there. If not, copy them from /etc/skel to your home directory and change ownership of them to your username. If they are present, add this to them:
Code: | eval `dircolors -b /etc/DIR_COLORS`
alias ls="ls --color=auto" |
|
|
Back to top |
|
|
kos Guest
|
Posted: Sun Jul 28, 2002 10:32 pm Post subject: |
|
|
Many thanks |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Aug 25, 2002 6:21 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo. Colors are not an installation issue. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
[loki] n00b
Joined: 07 Jul 2002 Posts: 29 Location: Granby / Québec
|
Posted: Tue Aug 27, 2002 2:42 am Post subject: |
|
|
When I put these lines in my .bashrc file, I get as an output on my console all the stuff that is in DIR_COLORS but it's annoying.
Is there any way to make it silent? I mean, having no output from the command? _________________ « L'absurdité est surtout le divorce de l'homme et du monde. »
-Albert Camus (L'étranger) |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Tue Aug 27, 2002 3:15 am Post subject: |
|
|
Since we are talking about lscolors check out this webpage Goes into how you can change from the default colors and what all the numbers are for what color _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
|