Browse Source

Added colors.sh, add simplistic README

master
David Thurstenson 7 years ago
parent
commit
1e258aadbe
  1. 1
      README
  2. 28
      bash/colors.sh

1
README

@ -0,0 +1 @@
Frequently used code snippits.

28
bash/colors.sh

@ -0,0 +1,28 @@
fg_black=$(tput setaf 0)
fg_red=$(tput setaf 1)
fg_green=$(tput setaf 2)
fg_yellow=$(tput setaf 3)
fg_blue=$(tput setaf 4)
fg_magenta=$(tput setaf 5)
fg_cyan=$(tput setaf 6)
fg_white=$(tput setaf 7)
bg_black=$(tput setab 0)
bg_red=$(tput setab 1)
bg_green=$(tput setab 2)
bg_yellow=$(tput setab 3)
bg_blue=$(tput setab 4)
bg_magenta=$(tput setab 5)
bg_cyan=$(tput setab 6)
bg_white=$(tput setab 7)
bold=$(tput bold)
dim=$(tput dim)
reverse=$(tput rev)
ul_b=$(tput smul)
ul_e=$(tput rmul)
standout_b=$(tput smso)
standout_e=$(tput rmso)
reset=$(tput sgr0)
Loading…
Cancel
Save