Only set ulimit on Darwin
Only hook direnv when it's installed