`Color ls' from a bash$ window

Victor Schneider vischne@ibm.net
Wed Oct 22 05:41:00 GMT 1997


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list