Dag-Erling Smorgrav writes:
 > Oleg Ogurok <o...@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 majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to