Sunday, February 17, 2008

Mac OSX Tricks

Mac OSX Tricks
I've learned some cool Mac OSX Tricks along the way, that I'm sure to forget before too long. I'll try to add them here and maybe build up a nice list of cool tricks and necessary fixes.
  • I like old green-screen terminal, so set Terminal's preference to default to Homebrew
  • JAVA_HOME wasn't set: added

    export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home

    To /etc/bashrc. After new login (or . /etc/bashrc) echo $JAVA_HOME works. I found this necessary for some ant scripts.