Re: listing directory contents with color
Alphonse Ogulla <ogulla@uonbi.ac.ke> 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 dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: