delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/15/16:04:51

From: kunglao AT prairienet DOT org (Gilligan)
Subject: Re: Colors in bash
15 Aug 1997 16:04:51 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33F4E22C.1CB71C1E.cygnus.gnu-win32@prairienet.org>
References: <9708140204 DOT AA03437 AT kmrmail DOT kmr DOT ll DOT mit DOT edu> <33F37BB9 DOT 756CD532 AT bensonlaw DOT com>
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; I)
Original-To: GNU Win 32 <gnu-win32 AT cygnus DOT com>
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Bryon Roche wrote:
> 
> Sarir Khamsi wrote:
> >
> > Yo,
> >
> > Is there a way to get color happening in bash, like the output of ls
> > having different colors for different types of files? I looked all
> > through the FAQ and old messages but did not find anything. Thanks.
> You can go and find the color-ls patch from the slackware
> distribution.
> I had a hack that worked with
> djgpp, but I don't anymore. (at least the last time I checked.)

The stock b18 ls allows color, you just have to feed it the --color
option and add the output of the dircolors command to your .bashrc to
setup the LS_COLORS env var.

-- 
Due to the abundance of spamming, action has been taken.  Please remove
the underscore (_) from my address when replying to me.  Spammers,
please leave the underscore in.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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