From owner-freebsd-questions Fri Apr 26 10: 0: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 594D037B416 for ; Fri, 26 Apr 2002 09:59:58 -0700 (PDT) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 17194e-0003ty-00 for ; Fri, 26 Apr 2002 17:59:56 +0100 Date: Fri, 26 Apr 2002 17:59:56 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: ls with the -G option Message-ID: <20020426165956.GD14130@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 26, 2002 at 06:52:51PM +0200, e.cerejo@laposte.net wrote: > Is it possible to make the ls command run with the -G option > every time you run ls or ls with any other option. I just > want it to show color all the time and to be able to add more > options to it, for example ls -a I would like it to give the > results in color without having to add the -G option all the > time. Thanks > Hi, This is an excerpt from the man page for ls: -G Enable colorized output. This option is equivalent to defining CLICOLOR in the environment. (See below). So, set CLICOLOR=true in your shell startup file and it should do what you want it to do. Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message