message type case unsensitive
This commit is contained in:
1 parent
c32771a4ff
commit
60dfe19049
1 file changed
+1
-1
+1
-1
@@ -128,7 +128,7 @@ disp()
|
|||||||
local color_enabled=1
|
local color_enabled=1
|
||||||
[[ -n $NO_COLOR ]] && color_enabled=0
|
[[ -n $NO_COLOR ]] && color_enabled=0
|
||||||
|
|
||||||
case $1 in
|
case ${1^^} in
|
||||||
"I")
|
"I")
|
||||||
if [[ $color_enabled -eq 1 ]]; then
|
if [[ $color_enabled -eq 1 ]]; then
|
||||||
local heads="[ ${IGreen}info${DEFAULTFG} ]"
|
local heads="[ ${IGreen}info${DEFAULTFG} ]"
|
||||||
|
|||||||
Reference in new issue
Block a user