[PLUG] Colors in the 'ls' output

Jeme A Brelin jeme at brelin.net
Sun Feb 29 16:56:02 UTC 2004


On Sun, 29 Feb 2004, Rich Shepard wrote:
>   However, when I change the alias in ~/.bash_profile to 'all', the
> system tells me that it's not an allowed option. Has anyone a clue how
> to make this work?

Uh... I don't know what part of which alias you're changing to 'all', but
I'll show you mine:

alias ls='ls --color=if-tty -aF'

This'll give me color codes for tty output and no color codes when I dump
to file or pipe to another program.

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org




More information about the PLUG mailing list