From owner-freebsd-questions Fri Dec 22 18:35:22 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 18:35:21 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.unibe.ch (mailhub.unibe.ch [130.92.254.109]) by hub.freebsd.org (Postfix) with ESMTP id 857D737B400 for ; Fri, 22 Dec 2000 18:35:20 -0800 (PST) Received: from CONVERSION-DAEMON by mailhub.unibe.ch (PMDF V5.2-32 #42480) id <0G6000F011OAWW@mailhub.unibe.ch> for questions@freebsd.org; Sat, 23 Dec 2000 03:31:23 +0100 (MET) Received: from iamexwi.unibe.ch (haegar.unibe.ch [130.92.71.10]) by mailhub.unibe.ch (PMDF V5.2-32 #42480) with ESMTP id <0G6000CAN1OATN@mailhub.unibe.ch>; Sat, 23 Dec 2000 03:31:22 +0100 (MET) Received: from arp.unibe.ch (arp [130.92.62.25]) by iamexwi.unibe.ch (8.8.8+Sun/8.8.8) with ESMTP id DAA05312; Sat, 23 Dec 2000 03:35:22 +0100 (MET) Received: (from roth@localhost) by arp.unibe.ch (8.9.3+Sun/8.9.1) id DAA14246; Sat, 23 Dec 2000 03:35:19 +0100 (MET) Date: Sat, 23 Dec 2000 03:35:19 +0100 From: Tobias Roth Subject: Re: Getting colorized output from ls In-reply-to: <20001223005759.A799@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Sat, Dec 23, 2000 at 12:57:59AM +0100 To: Ernst de Haan Cc: questions@freebsd.org Message-id: <20001223033519.A14227@arp.unibe.ch> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2.5i References: <20001223005759.A799@c187104187.telekabel.chello.nl> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 23, 2000 at 12:57:59AM +0100, Ernst de Haan wrote: > After setting the variable CLICOLORS in my environment, ls now gives me > colored output, but I can't get it to print high-constrast colors. I tried > `man ls', but I don't can't find any information about this. I remember that > Leenucks used to have this a few years ago. I was just working on that myself: Here's what I did: - install /usr/ports/misc/gnuls - put alias ls="gnuls --color=always" in ~/.profile or ~/.cshrc - tweak the color settings: man dircolors dircolors Works like a charm. Also check out this site for a colored prompt and a more detailed list of color combinations: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=723876+0+archive/1998/freebsd-questions/19980802.freebsd-questions Have fun, Tobe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message