Fixing a slow starting Terminal or iTerm2 on Mac OS X

For some time I have been annoyed with how slow my Terminal (in my case iTerm2) starts up. It would take 5-10 seconds before I was presented a prompt. Being in the console for the better part of the day, this was unacceptable. The first thing I did was upgrade Bash to Zsh. I’d heard great things about Zsh, so I thought I’d give it a try. Zsh is really awesome, but it did not fix the start-up delay I was experiencing previously with Bash.

Bash it! - Number of messages in Postfix queue

Got bash? Here’s a nice snippet that will return the number of messages currently in the postfix queue. postqueue -p | tail -n 1 | cut -d' ' -f5 Feel free to post any updates or improvements.