Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 08:40:45 -0500 (CDT)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        Oleg Ogurok <oleg@ogurok.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: colour 'ls'
Message-ID:  <14097.63258.197376.207383@zuhause.mn.org>
In-Reply-To: <xzpwvzivgir.fsf@flood.ping.uio.no>
References:  <Pine.BSF.4.05.9904110950510.36002-100000@ogurok.com> <xzpwvzivgir.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav writes:
 > Oleg Ogurok <oleg@ogurok.com> writes:
 > > I put ls as a symbolic link to gnuls, but every time I make world, the old
 > > 'ls' puts back ;-)
 > 
 > Don't do that. Instead, do:
 > 
 > # cd /usr/local/bin
 > # ln -s gnuls ls
 > 
 > and fix your PATH so /usr/local/bin comes before /bin.

Better yet, set up an alias of ls = "ls --color" when the shell is an
interactive shell, and then you don't get the color escape sequences
when running scripts or if you escape ls with \ls when outputting to a 
file.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14097.63258.197376.207383>