This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: `Color ls' from a bash$ window
- To: gnu-win32 at cygnus dot com
- Subject: Re: `Color ls' from a bash$ window
- From: "$Bill Luebkert" <dbe at wgn dot net>
- Date: Wed, 22 Oct 1997 15:24:16 -0700
- Organization: DBE Collectibles
- References: <1.5.4.16.19971022084320.25bf6252@pop1.ibm.net>
Victor Schneider wrote:
>
> 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
In my experience is is a bad idea to alias a command to itself (with args),
it has caused me problems in the past and I have quite doing it.
Alias l to ls and m to less or some such.
--
,-/- __ _ _ $Bill Luebkert
(_/ / ) // // DBE Collectibles
/ ) /--< o // // http://www.wgn.net/~dbe/
-/-' /___/_<_</_</_ Email: dbe@wgn.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".