Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ryanmoon/468e735b57aecf90483962c366e55351 to your computer and use it in GitHub Desktop.
Save ryanmoon/468e735b57aecf90483962c366e55351 to your computer and use it in GitHub Desktop.
iTerm2 2.0 supports regex triggers for highlighting terminal text matching. This is a collection of regexes for cljsbuild, clojurescript.test and clojure.test highlighters
;; cljsbuild warnings
^WARNING:.* ;; yellow on black
;; cljs.test in phantom-js errors, i.e. "ReferenceError: Can't find variable: React"
^\w*rror:.* ;; red foreground
;; test success, failures, errors (red/green bar)
0 (errors|failures).* ;; green background
(?!0)\d+ (errors|failures).* ;; red background
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment