From owner-freebsd-questions Tue Oct 5 2:20:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 55A0115076 for ; Tue, 5 Oct 1999 02:20:36 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.037 #1) id 11YQlk-00038d-00; Tue, 05 Oct 1999 11:20:24 +0200 From: Sheldon Hearn To: big-sky@altavista.net Cc: "Freebsd-Questions" Subject: Re: colorls question In-reply-to: Your message of "Mon, 04 Oct 1999 13:08:23 EST." <000001bf0e93$7328d360$0201010a@cmr.net> Date: Tue, 05 Oct 1999 11:20:24 +0200 Message-ID: <12066.939115224@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 04 Oct 1999 13:08:23 EST, "Mark Einreinhof" wrote: > I have colorls installed. I would like to just type "ls" or "dir" to get the > equivalent of typing "colorls -G", or if I type "dir -al" I get > "colorls -Gal" equivalent results. I see you've had one reply to your question already, but it offers poor advice as far as clean system administration is concerned. The "pure" way to do this is to simply add the following line to your .profile: alias ls='colorls -G' It's best to leave your base system stuff alone. Also, it's not good practice to force one user's preference down the throats of the others. Even if you're the only user on your box, it's still a bad habit to get into. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message