delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/11/16:10:01

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: Colors in shell
11 Apr 1998 16:10:01 -0700 :
Message-ID: <6rd5bIV$pfB.cygnus.gnu-win32@mike.franken.de>
References: <003301bd6433$382af150$8917b498 AT pclink DOT dynip DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Christopher,

>Okay all... Having some headaches here. :)
>
>How do I get colors? You know, blue for directories, red for links, and so
>on and so on?
>I mostly utilize the tcsh shell, and have a setenv LS_COLORS line in my
>.tcshrc file, but I get nothing.
>Any help would be great!

If you mean, you want to have colors in your ls output, use

        alias ls='ls --color=tty'

in your .<shell>rc file.
*Don't use 'ls --color'*, because it will give you weird output, when
piping ls output for example through less.

>
>Thanks

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
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