Better error info (cosmetics).

This commit is contained in:
Tommaso Chiti 2022-05-12 09:30:30 +02:00
parent b85833d6b3
commit 8daefa49a7

View file

@ -6,6 +6,7 @@ clear
# Cosmetics (colours for text). # Cosmetics (colours for text).
BOLD='\e[1m' BOLD='\e[1m'
BRED='\e[91m' BRED='\e[91m'
BBLUE='\e[34m'
BGREEN='\e[92m' BGREEN='\e[92m'
BYELLOW='\e[93m' BYELLOW='\e[93m'
RESET='\e[0m' RESET='\e[0m'
@ -16,7 +17,7 @@ print () {
} }
# Alert user of bad input (function). # Alert user of bad input (function).
incEcho () { incEcho () {
echo -e "${BRED}$1${RESET}" echo -e "${BOLD}${BRED}[ ${BBLUE}${BRED} ] $1${RESET}"
} }
# Virtualization check (function). # Virtualization check (function).