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