Skip to content

Instantly share code, notes, and snippets.

@jhyland87
Last active September 29, 2022 00:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhyland87/453229ffd467f2a2b76f348528ce08fa to your computer and use it in GitHub Desktop.
Save jhyland87/453229ffd467f2a2b76f348528ce08fa to your computer and use it in GitHub Desktop.
declare -A _c
_c[reset]=$(tput sgr0)
_c[bold]=$(tput bold)
_c[red]=$(tput setaf 1)
_c[grn]=$(tput setaf 2)
_c[yel]=$(tput setaf 3)
_c[cya]=$(tput setaf 6)
_c[bldred]=${_c[bold]}${_c[red]}
_c[bldgrn]=${_c[bold]}${_c[grn]}
_c[bldyel]=${_c[bold]}${_c[yel]}
_c[bldcya]=${_c[bold]}${_c[cya]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment