From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 07:14:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 961C116A4CE for ; Sun, 10 Apr 2005 07:14:14 +0000 (GMT) Received: from mail.mri.ernet.in (mail.mri.ernet.in [202.41.87.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011C843D1D for ; Sun, 10 Apr 2005 07:14:06 +0000 (GMT) (envelope-from raghu@mri.ernet.in) Received: from ipc2.mri.ernet.in (unknown [192.168.1.9]) by mail.mri.ernet.in (Postfix) with ESMTP id 3A64585288; Sun, 10 Apr 2005 17:56:18 +0500 (MVT) Received: from ipc2 (localhost [127.0.0.1]) by ipc2 (Postfix) with SMTP id E5D6413D03; Sun, 10 Apr 2005 12:43:57 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id C9C48B215; Sun, 10 Apr 2005 12:43:57 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.3/8.13.3) with ESMTP id j3A7GXBx010232; Sun, 10 Apr 2005 12:46:33 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.3/8.13.3/Submit) id j3A7GRbt010229; Sun, 10 Apr 2005 12:46:27 +0530 (IST) (envelope-from raghu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16984.53963.604872.832208@riemann.mri.ernet.in> Date: Sun, 10 Apr 2005 12:46:27 +0530 From: "N. Raghavendra" To: ricardo_j_candiotto@ibest.com.br In-Reply-To: <20050409201530.8A6B8937AB@mailweb02.ibest.com.br> References: <20050409201530.8A6B8937AB@mailweb02.ibest.com.br> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ cc: freebsd-questions@freebsd.org Subject: Re: ls colorized in freebsd csh?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "N. Raghavendra" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 07:14:14 -0000 At 2005-04-09T17:15:30-03:00, ricardo_j_candiotto@ibest.com.br wrote: > How do I use a ls colorized in FreeBSD 5.2.1??? > ... > how to do in FreeBSD csh??? One way is to put something like this in ~/.tcshrc. See tcsh(1). --- ## Enable color display for listing files. set color ## Specify the colors for listing various file types. setenv LS_COLORS "no=00:fi=00:di=01;34:ln=01;36;40:pi=40;33:so=01;35" setenv LS_COLORS "$LS_COLORS":"bd=40;33;01:cd=40;33;01:or=40;31;01" setenv LS_COLORS "$LS_COLORS":"ex=01;32;40:*.tar=01;31:*.tgz=01;31" setenv LS_COLORS "$LS_COLORS":"*.arj=01;31:*.taz=01;31:*.lzh=01;31" setenv LS_COLORS "$LS_COLORS":"*.zip=01;31:*.z=01;31:*.Z=01;31" setenv LS_COLORS "$LS_COLORS":"*.gz=01;31:*.deb=01;31:*.jpg=01;35" setenv LS_COLORS "$LS_COLORS":"*.gif=01;35:*.bmp=01;35:*.ppm=01;35" setenv LS_COLORS "$LS_COLORS":"*.tga=01;35:*.xbm=01;35:*.xpm=01;35" setenv LS_COLORS "$LS_COLORS":"*.tif=01;35:*.mpg=01;37:*.avi=01;37" setenv LS_COLORS "$LS_COLORS":"*.gl=01;37:*.dl=01;37:*.tex=01;35" setenv LS_COLORS "$LS_COLORS":"*.ps=01;35:" ## Use the `tcsh' builtin command `ls-F' to list files. alias ls "ls-F" --- Raghavendra. -- N. Raghavendra | See mail headers for contact Harish-Chandra Research Institute | and OpenPGP details.