use tput for colours - better compatibility
This commit is contained in:
parent
e63383012f
commit
8c0b5e9a02
@ -6,14 +6,13 @@
|
||||
|
||||
|
||||
### text formatting presents
|
||||
norm="\e[0m"
|
||||
bold="\e[1m"
|
||||
err="\e[1;31m"
|
||||
warn="\e[1;93m"
|
||||
ok="\e[32m"
|
||||
yellow="\e[93m"
|
||||
cyan="\e[96m"
|
||||
mag="\e[95m"
|
||||
norm=$(tput sgr0)
|
||||
err=$(tput bold)$(tput setaf 1)
|
||||
warn=$(tput bold)$(tput setaf 3)
|
||||
ok=$(tput setaf 2)
|
||||
yellow=$(tput setaf 3)
|
||||
cyan=$(tput setaf 6)
|
||||
mag=$(tput setaf 5)
|
||||
|
||||
|
||||
### functions
|
||||
|
Loading…
Reference in New Issue
Block a user