Borrowed from Prelude and Purcell's .emacs.d