How do I get ls to list directory contents with color without passing the
--color option everytime?
--
Alphonse Ogulla
Nairobi, Kenya
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
On Wed, 20 Aug 2003 13:49:01 +0300
Alphonse Ogulla [EMAIL PROTECTED] wrote:
How do I get ls to list directory contents with color without passing
the --color option everytime?
Edit your ~/.bashrc (/etc/skel/.bashrc for all new users) and your
~/.bash_profile (/etc/skel/.bash_profile for all
On Wednesday 20 August 2003 12:49, Alphonse Ogulla wrote:
How do I get ls to list directory contents with color without passing the
--color option everytime?
Have a look at your ~/.bashrc and ~/.bash_profile.
In .bash_profile you'll have to uncomment the block for inclusion of the
.bashrc.
On Wed, Aug 20, 2003 at 01:49:01PM +0300, Alphonse Ogulla wrote:
How do I get ls to list directory contents with color without passing the
--color option everytime?
alias ls='ls --color=auto'
Cheers,
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE,
On Wednesday 20 August 2003 14:34, Johann Koenig wrote:
On Wed, 20 Aug 2003 13:49:01 +0300
Alphonse Ogulla [EMAIL PROTECTED] wrote:
How do I get ls to list directory contents with color without passing
the --color option everytime?
Edit your ~/.bashrc (/etc/skel/.bashrc for all new users)
Alphonse Ogulla [EMAIL PROTECTED] writes:
How do I get ls to list directory contents with color without passing the
--color option everytime?
My shell dotfiles (for zsh, but this should work for any modern Bourne
shell) have:
ls() { /bin/ls --color --classify $@; }
which implements this
6 matches
Mail list logo