1234567891011121314151617181920212223242526 |
- #!/bin/bash
-
- # get some fancy colorz
- black="\[\033[0;30m\]"
- red="\[\033[0;31m\]"
- green="\[\033[0;32m\]"
- yellow="\[\033[0;33m\]"
- blue="\[\033[0;34m\]"
- magenta="\[\033[0;35m\]"
- cyan="\[\033[0;36m\]"
- white="\[\033[0;37m\]"
- lblack="\[\033[1;30m\]"
- lred="\[\033[1;31m\]"
- lgreen="\[\033[1;32m\]"
- lyellow="\[\033[1;33m\]"
- lblue="\[\033[1;34m\]"
- lmagenta="\[\033[1;35m\]"
- lcyan="\[\033[1;36m\]"
- lwhite="\[\033[1;37m\]"
- normal="\[\033[1;0m\]"
-
- coldemo="colors demo: \n$black black$red red$green green$yellow yellow"
- coldemo="${coldemo}$blue blue$magenta magenta$cyan cyan$white white\n "
- coldemo="${coldemo}$lblack lblack$lred lred$lgreen lgreen$lyellow lyellow"
- coldemo="${coldemo}$lblue lblue$lmagenta lmagenta$lcyan lcyan$lwhite lwhite\n"
- coldemo="${coldemo}$normal normal\n"
|