Skip to content

Instantly share code, notes, and snippets.

@zipizap
Created October 11, 2013 14:49
Show Gist options
  • Save zipizap/6935990 to your computer and use it in GitHub Desktop.
Save zipizap/6935990 to your computer and use it in GitHub Desktop.
function shw_grey { echo -e '\033[1;30m'"$1"'\033[0m'; }
function shw_norm { echo "$1"; }
function shw_info { echo -e '\033[1;34m'"$1"'\033[0m'; }
function shw_warn { echo -e '\033[1;33m'"$1"'\033[0m'; }
function shw_err { echo -e '\033[1;31mERROR: '"$1"'\033[0m'; }
shw_grey "Blablabla nothing interesting..."
shw_norm "I reclaim some attention, but still within normality"
shw_info "I'm an info message - I stand out"
shw_warn "We must fix our economic system"
shw_err "Crash Boom Bang"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment