Choose different if we're on a Mac or Linux
Move auto-mode hooks to the bottom for organisation
I don't want the window to die when I kill the buffer anymore
Ignore Eshell cruft