|
|
Colorized 'ls' output in terminal
|
|
|
|
Senior User
Join Date: Jan 2000
Location: davis, CA, USA
Status:
Offline
|
|
Hi all, I had this ability with 10.1 but I forgot how I got that. Can anyone point me in the right direction?
Thanks
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Google.
"Mac color +ls"
it'll be your top entry.
Mike
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: Algarve, Portugal
Status:
Offline
|
|
Originally posted by jagga:
Hi all, I had this ability with 10.1 but I forgot how I got that. Can anyone point me in the right direction?
Thanks
Get this file
http://ftp.gnu.org/pub/gnu/fileutils...ils-4.1.tar.gz
decompress it and compile it: ./configure and make
copy the 'ls' executable to /usr/local/bin and you are ready to go!
(considering that you have /usr/local/bin on your path.. it was by default in OSX 10.1 but not anymore in 10.2)
Greetings.
|
--
Leonel Martins
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jul 2001
Location: NC
Status:
Offline
|
|
Deivy reports that users of tcsh can coerce tcsh to produce color with ls-F and completions. Here is a quote from his post on the Apple UNIX discussion.
I am using tcsh, and I am following to the letter the README file on "usr/share/tcsh/examples/". I read man tcsh, and created a file environments.mine in "~Library/init/tcsh/" and added the line "set color".
It works for ls-F and for file completion. it should (i gather) work for ls, but it does not.
If any body has a shot at it and finds this out, I'll be very appreciative. Meanwhile, the recipe above sets the default colors for ls-F and file completion.
One could also alias ls to ls-F.
|
Gary
A computer scientist is someone who, when told to "Go to Hell", sees the
"go to", rather than the destination, as harmful.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|