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 t
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
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 Wed, 2003-08-20 at 20:49, Alphonse Ogulla wrote:
> How do I get ls to list directory contents with color without passing the
> --color option everytime?
>
> --
> Alphonse Ogulla
> Nairobi, Kenya
In your ~/.bashrc file, add the line:
alias ls='ls --color'
--
~~~
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, 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
6 matches
Mail list logo