[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: color ls



[FAQ]

Before fileutils 3.13, you need the color-ls package, and then
you just need eval `dircolors`.

After fileutils-3.13:

With the integration of color-ls directly into the fileutils
package, a few things have changed.  dircolors no longer sets
up aliases or shell scripts to colorize ls, dir, and vdir.

Here is an excerpt from a .bashrc which sets up aliases after
running dircolors:

	# set up color-ls
	eval `dircolors /home/syrus/.dir_colors`
	alias d='ls -F --color=auto'
	alias v='ls -l --color=auto'
	alias vdir='ls -l --color=auto'
	alias dir='ls -F --color=auto'                                                 

Note that color=tty has been changed to color=auto.  See the
documentation for other change information.


Syrus.

----------------------------------------------------------
Syrus Nemat-Nasser <syrus@ucsd.edu>    UCSD Physics Dept.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: