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

getColor() must always print result
pull/22/head
Ben Hilburn 2018-01-24 14:05:49 -05:00 committed by GitHub
commit 6e9b89206f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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