LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 02-16-2004, 10:36 PM   #1
tsengj
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Talking Gentoo Linux - Default Bash, where to alias ls --color?


Hi all you veterans!

I have installed the default gentoo linux! its a fantastic distro

1. I want my dir colors! - Where do I configure to add in alias ls="ls --color=always"?
- I have tried /etc/skel/.bashrc -- added in the command, no difference
- I have tried /etc/conf.d/local.start -- added in, no difference.
- i'll only have it when i add into "local.start this line -- bash /etc/skel/.bashrc <== but my prompt will
change.

2. Currently running fluxbox. When I run Aterm in StartX. how do i configure my prompt?
- how do i make it : <whatever>#
- where do i add alias ls="ls --color=always" into so it'll always start with dir colors?

3. What message is a "Specific key requires an operator"? I got it when I emerge net-analyzer/nikto-1.31


Please enlighten me!

sincerely,
james
 
Old 02-16-2004, 10:41 PM   #2
ashamril
Member
 
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
put it in ~username/.bash_profile

alias ls='ls -F --color=auto'
 
Old 02-18-2004, 10:34 PM   #3
tsengj
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
thanks!

Thanks!

it works!
 
  


Reply


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
bash ls --color alias? tripmix Linux - Newbie 7 01-18-2005 05:49 AM
alias in bash shell wincrk Linux - General 12 07-20-2004 01:35 PM
default alias nobu Slackware 2 04-23-2004 05:02 AM
A bash alias question CodeWarrior Slackware 11 06-03-2003 08:09 PM
bash and alias kleptos Slackware 6 01-23-2003 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration