mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Better error info (cosmetics).
This commit is contained in:
parent
b85833d6b3
commit
8daefa49a7
1 changed files with 2 additions and 1 deletions
|
|
@ -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).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue