ls-F tcsh built-in command

Polytropon freebsd at edvax.de
Thu May 17 13:17:14 UTC 2012


On Thu, 17 May 2012 21:59:52 +0900, fake fake wrote:
> Oh, dear. I didn't notice it.
> So, is there no way to color directory in ISO 6429 codes with using tcsh?

Judging from "man csh":

	File  names  can also be colorized based on filename extension.
	This is specified in the LS_COLORS variable  using  the  syntax
	"*ext=string".  For example, using ISO 6429 codes, to color all
	C-language source files blue you would specify "*.c=34".   This
	would color all files ending in .c in blue (34) color.

	[...]

	If your terminal does use ISO 6429 color codes, you can compose

	[...]

	Not all commands will work on all systems or display devices.

It seems that the terminal emulator in use also plays an
important role.



Search for "LS_COLORS" in the environment variables section
of "man csh". However, I've always been satisfied with using
$LSCOLORS as "ExGxdxdxCxDxDxBxBxegeg". :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list