Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@jhedden
jhedden / hlight.pl
Last active August 29, 2015 14:27 — forked from r4um/hlight.pl
rxvt-unicode highlighter module
#! perl
#
# rxvt-unicode highlighter module
# Highlight text on the console given regex and rendition string
# Specified via hlight.X and hlight.rend.X resources respectively
# Where X is any number for ex 0, 1 etc. for multiple entries.
#
# For example to hilight text "warning", put the following in .Xdefaults
#
# URxvt*hlight.0: warning