Hey, for those of you bored out of your mind looking at the same old black on white or white on black scheme in the terminal, I have a new compiled color version of ls that will function perfectly with a few adjustments:
As root: (or using sudo which gets annoying)
- Download this: http://www.10k.org/~jake/osx/ls.gz, uncompress it, and use the terminal to move it to /bin (the file's name should be ls2 unless you want to change the config proceeding these instructions accordingly)
- Type this into your terminal after moving the file: "chmod +x /bin/ls2" (just making sure you have priveledges to open it)
Additional adjustments:
1) Open up your /usr/share/init/tcsh/tcsh.defaults file with a text editor (pico is a good editor for newbies)
2) This line: "#alias ls 'ls-F'" should have a # (comment on it) at the beginning. If it's not there, add it with the #.
3) Add this line to the file: "alias ls '/bin/ls2 --color -a'" (make sure when you add lines, they go *before* the #endif, for obvious reasons)
4) Every new terminal window you open will show directories/files/links in their according colors from now on, if all went okay.
As root: (or using sudo which gets annoying)
- Download this: http://www.10k.org/~jake/osx/ls.gz, uncompress it, and use the terminal to move it to /bin (the file's name should be ls2 unless you want to change the config proceeding these instructions accordingly)
- Type this into your terminal after moving the file: "chmod +x /bin/ls2" (just making sure you have priveledges to open it)
Additional adjustments:
1) Open up your /usr/share/init/tcsh/tcsh.defaults file with a text editor (pico is a good editor for newbies)
2) This line: "#alias ls 'ls-F'" should have a # (comment on it) at the beginning. If it's not there, add it with the #.
3) Add this line to the file: "alias ls '/bin/ls2 --color -a'" (make sure when you add lines, they go *before* the #endif, for obvious reasons)
4) Every new terminal window you open will show directories/files/links in their according colors from now on, if all went okay.