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

getColor() must always print result
pull/22/head
Ben Hilburn 7 years ago committed by GitHub
commit 6e9b89206f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,8 +40,8 @@ function getColor() {
# color not found, so try to get the code # color not found, so try to get the code
1=$(getColorCode $1) 1=$(getColorCode $1)
fi fi
echo -n "$1"
fi fi
echo -n "$1"
} }
# empty paramenter resets (stops) background color # empty paramenter resets (stops) background color

Loading…
Cancel
Save