#!/bin/sh
#
# prrun - print then run given command. useful to print what an alias is doing
#
# example:    `prrun npm test`
# will echo:  "npm test" then run "npm test"

color_bold=$(tput bold)
color_blue=$(tput setaf 4)
color_reset=$(tput sgr0)
readonly color_bold
readonly color_blue
readonly color_reset

echo "${color_bold}${color_blue}$*${color_reset}"
"$@"
