Using Hazel to Highlight any Uncommitted git Changes
Today I thought I’d share one of the more esoteric Hazel rules I use to monitor the files on my Mac. (If you’re not familiar with Hazel, an indespensible Mac utility that everyone should own, here’s a brief intro.) This rule monitors the folder containing all of my git repositories and highlights any sub-folders that have uncommitted changes. At the end of a work day, it’s a great way to see at a glance which projects have unsaved changes. Here’s a screenshot of my Hazel rules… And here’s the shell script that is embedded in rule #1… dirname=$1 if [ …