Merge pull request #726 from docwhat/pr/getColor-ignores-numbers
getColor() must always print resultpull/22/head
commit
6e9b89206f
|
@ -40,8 +40,8 @@ function getColor() {
|
|||
# color not found, so try to get the code
|
||||
1=$(getColorCode $1)
|
||||
fi
|
||||
echo -n "$1"
|
||||
fi
|
||||
echo -n "$1"
|
||||
}
|
||||
|
||||
# empty paramenter resets (stops) background color
|
||||
|
|
Loading…
Reference in New Issue