delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/10/14:02:04

Date: Thu, 10 Sep 1998 21:01:30 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Charles Krug <charles AT pentek DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Is it possible to force ls to always use the --colors option?
In-Reply-To: <35F7F466.A7E85259@pentek.com>
Message-ID: <Pine.SUN.3.91.980910205900.10176H-100000@is>
MIME-Version: 1.0

On Thu, 10 Sep 1998, Charles Krug wrote:

> ls --colors
> 
> Can I set an option in djgpp.env to make ls always use --colors?

No.  The usual way to achieve this is to set up an alias or a keyboard 
macro that calls ls with --colors option.

And btw, I hope by ``always'' you actually mean ``always, but only if 
standard output is the screen''.  In other words, do NOT invoke ls with 
--colors=always, or else you will see nasty side-effects.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019