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 functionality as a shell function.

-- 
David Maze         [EMAIL PROTECTED]      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
        -- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to