Okay, fire up Alfred, type ">" followed by the terminal command:
If you want to use iTerm2 instead of the Terminal (who wouldn't?), no problem: Alfred Preferences -> Features -> Terminal -> Application:
Just choose an iTerm2 in the dropdown menu and you're set.
only £17 only only £17£17