One Bash command for timing regular 25 minutes pomodoro session and one for 5 minutes breaks. Because, why use a fancy app or website when you can use an arcane piece of AppleScript in your beautiful Mac?

Copy and paste in your ~/.bashrc.

You are welcome.

Want to read more?

I regularly write solutions to programming problems that you may or may not find in technical job interviews. I also love to explain those solutions and answer questions. If you would like to get the latest problem + solution, subscribe to the newsletter or subscribe via RSS. You can also follow me on Twitter, GitHub, and LinkedIn.