Add some functions.

Thank you Mathias Bynens.
Default to shell script in text mate.