OS X tips on the quick.
Getting a Mac after going without for a bit longer than a year leads to me forgetting how to do a few Mac specific and Unix specific things. Thankfully, the intertubes has all the answers I was looking for.
1) Setting $JAVA_HOME
James Duncan Davidson tells us how to set JAVA_HOME correctly. I’m doing some Grails, Groovy and Scala work, so this was important.
2) Setting $PS1
If you use the terminal you might as well make it pretty. Daniel Robbins of Gentoo Linux fame has a great write up on ibm.com/developer regarding this.
3) Configuring ls to output colours.
Drunken Batman offers a simple tutorial to do this. I never remember to update the man pages for the ls I compile, so it’s great that it’s outlined here.