Add color to logging
This commit is contained in:
parent
62ba24c6c9
commit
417cdd228b
@ -13,7 +13,7 @@ repo='git@gitlab.com:rehashedsalt/home.git'
|
|||||||
## Define some functions
|
## Define some functions
|
||||||
log() {
|
log() {
|
||||||
[ -z ${1+x} ] && return 1
|
[ -z ${1+x} ] && return 1
|
||||||
printf "${name}: $1\n"
|
printf "\e[94m${name}\e[0m: $1\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
validatedep() {
|
validatedep() {
|
||||||
|
Loading…
Reference in New Issue
Block a user