Merge pull request #726 from docwhat/pr/getColor-ignores-numbers

getColor() must always print result
This commit is contained in:
Ben Hilburn
2018-01-24 14:05:49 -05:00
committed by GitHub
+1 -1
View File
@@ -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