Re: Enableing color LS on consoke sessions
here's what i use
alias ls='ls -F --color=auto'
alias ll='ls -Fl --color=auto'
alias la='ls -Fa --color=auto'
alias lr='ls -Fr --color=auto'
alias lad='ls -Flad --color=auto'
alias lla='ls -Fla --color=auto'
alias llr='ls -Flr --color=auto'
alias lld='ls -Fld --color=auto'
alias lrd='ls -Flrd --color=auto'
alias lar='ls -Far --color=auto'
alias llar='ls -Flar --color=auto'
alias lard='ls -Flard --color=auto'
the "auto" keyword is nice cause it doesn't frick up your listing when
piping to more or less. i also use my own color scheme
export
LS_COLORS='fi=0:ex=31:di=01;34:ln=36:pi=34:cd=45:bd=46:so=35:or=43:*.rpm=01;31:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35'
see info ls for more detail.
pete
On Sun 25 Mar 01, 3:44 PM, Stan Brown said:
> How do I enable colorizing my ls outptut on the console sessions? It workis in
> terminals under X.
>
> I am using framebuffer if ti matters.
>
> --
> Stan Brown stanb@awod.com 843-745-3154
> Charleston SC.
> --
> Windows 98: n.
> useless extension to a minor patch release for 32-bit extensions and
> a graphical shell for a 16-bit patch to an 8-bit operating system
> originally coded for a 4-bit microprocessor, written by a 2-bit
> company that can't stand for 1 bit of competition.
> -
> (c) 2000 Stan Brown. Redistribution via the Microsoft Network is prohibited.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
"Coffee... I've conquered the Borg on coffee!" p@dirac.org
-- Kathryn Janeway on the virtues of coffee www.dirac.org/p
Reply to: