#
# Helpful colors & printing
#
r=$(tput setaf 1); r() { echo -e "$r$*$y"; }
g=$(tput setaf 2); g() { echo -e "$g$*$y"; }
y=$(tput setaf 3); y() { echo -e "$y$*$y"; }
c=$(tput setaf 6); c() { echo -e "$c$*$y"; }
x=$(tput sgr0)
log() { echo -e "$*" >&2; }
say() { echo -e "$*" | sed -e "s/^/$y# => /g" | sed -e "s/$/$x/g" >&2; }
err() { echo -e "$*" | sed -e "s/^/$r# !! /g" >&2; }
_run() { echo -e "$y# $c$ $g$*$x" >&2; }
run() { _run "$@"; "$@"; }
