Skip to content

Instantly share code, notes, and snippets.

View embryoconcepts's full-sized avatar

Jen Hamilton embryoconcepts

View GitHub Profile
# EDITOR
export EDITOR='subl' -w
KEYWORDS="TODO:|FIXME:"
find "." \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -not -path "./Pods/*" -print0 |
xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" |
perl -p -e "s/($KEYWORDS)/ warning: \$1/"