delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/22/06:33:24

From: vischne AT ibm DOT net (Victor Schneider)
Subject: `Color ls' from a bash$ window
22 Oct 1997 06:33:24 -0700 :
Message-ID: <1.5.4.16.19971022084320.25bf6252.cygnus.gnu-win32@pop1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

At no extra cost, you can get your bash$ window ls listings colorized to
show directories and executable files.  The trick is to store a .bashrc
file in your root directory.  Under W95/WNT, the root directory is either
c:\ or c:\root (and you can `set HOME=/root' in your autoexec.bat).

Enclosed is a .bashrc file that you can use:
============================================================================
alias ls="ls -CF --color"
alias dir="ls -CF --color"
alias less="less -aCMrsi"
ulimit -c 0
export MM_RUNASROOT=1 

-
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