Change color escape codes.
This commit is contained in:
parent
995947f185
commit
5d9ed8cdff
@ -3,10 +3,10 @@
|
|||||||
. /etc/archbox.conf
|
. /etc/archbox.conf
|
||||||
|
|
||||||
# Text colors/formatting
|
# Text colors/formatting
|
||||||
red="\033[38;5;1"
|
red='\033[1;31m'
|
||||||
green="\033[38;5;2"
|
green='\033[1;32m'
|
||||||
bold="\033[1m"
|
bold='\033[1m'
|
||||||
reset="\033[m"
|
reset='\033[m'
|
||||||
|
|
||||||
err(){
|
err(){
|
||||||
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
. /etc/archbox.conf >/dev/null 2>&1
|
. /etc/archbox.conf >/dev/null 2>&1
|
||||||
|
|
||||||
# Text colors/formatting
|
# Text colors/formatting
|
||||||
red="\033[38;5;1"
|
red='\033[1;31m'
|
||||||
green="\033[38;5;2"
|
green='\033[1;32m'
|
||||||
bold="\033[1m"
|
bold='\033[1m'
|
||||||
reset="\033[m"
|
reset='\033[m'
|
||||||
|
|
||||||
err(){
|
err(){
|
||||||
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Text colors/formatting
|
# Text colors/formatting
|
||||||
red="\033[38;5;1"
|
red='\033[1;31m'
|
||||||
green="\033[38;5;2"
|
green='\033[1;32m'
|
||||||
bold="\033[1m"
|
bold='\033[1m'
|
||||||
reset="\033[m"
|
reset='\033[m'
|
||||||
|
|
||||||
err(){
|
err(){
|
||||||
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
||||||
|
8
src/init
8
src/init
@ -3,10 +3,10 @@
|
|||||||
. /etc/archbox.conf
|
. /etc/archbox.conf
|
||||||
|
|
||||||
# Text colors/formatting
|
# Text colors/formatting
|
||||||
red="\033[38;5;1"
|
red='\033[1;31m'
|
||||||
green="\033[38;5;2"
|
green='\033[1;32m'
|
||||||
bold="\033[1m"
|
bold='\033[1m'
|
||||||
reset="\033[m"
|
reset='\033[m'
|
||||||
|
|
||||||
err(){
|
err(){
|
||||||
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
printf "${red}${bold}%s${reset}\n" "==> $*" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user