Committed at Fri Apr 22 17:59:46 UTC 2016 by armin@void
This commit is contained in:
parent
839bc5f3ea
commit
6a2a623551
4
vpm
4
vpm
|
@ -13,7 +13,7 @@ getversion () {
|
|||
|
||||
version="$(getversion)"
|
||||
|
||||
# set to "true" to enable colorized output, or to "auto" to use auto-detection via $TERM
|
||||
# set to "true" to enable colorized output, or "auto" to use auto-detection via $TERM
|
||||
color=auto
|
||||
|
||||
# enable auto colorization
|
||||
|
@ -52,7 +52,7 @@ case "$1" in
|
|||
esac
|
||||
|
||||
color () {
|
||||
if [[ $color == true ]]; then
|
||||
if [[ ! $color == "false" ]]; then
|
||||
case "$1" in
|
||||
[0-9]*)
|
||||
tput setaf "$1"
|
||||
|
|
Loading…
Reference in New Issue