Set Apple Terminal.app resume directory, based on this answer: http://superuser.com/a/315029