mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-21 19:55:30 +00:00
fix colours fallback
This commit is contained in:
parent
67ca2ad617
commit
00812c610a
16
du_setup.sh
16
du_setup.sh
@ -89,14 +89,14 @@ if command -v tput >/dev/null 2>&1 && tput setaf 1 >/dev/null 2>&1; then
|
|||||||
BOLD=$(tput bold)
|
BOLD=$(tput bold)
|
||||||
NC=$(tput sgr0)
|
NC=$(tput sgr0)
|
||||||
else
|
else
|
||||||
RED='\e[0;31m'
|
RED=$'\e[0;31m'
|
||||||
GREEN='\e[0;32m'
|
GREEN=$'\e[0;32m'
|
||||||
YELLOW='\e[1;33m'
|
YELLOW=$'\e[1;33m'
|
||||||
BLUE='\e[0;34m'
|
BLUE=$'\e[0;34m'
|
||||||
PURPLE='\e[0;35m'
|
PURPLE=$'\e[0;35m'
|
||||||
CYAN='\e[0;36m'
|
CYAN=$'\e[0;36m'
|
||||||
NC='\e[0m'
|
NC=$'\e[0m'
|
||||||
BOLD='\e[1m'
|
BOLD=$'\e[1m'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user