Add some osx settings from erikh's gist

https://gist.github.com/erikh/2260182