1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-19 14:01:57 +00:00

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
commit 6e9b89206f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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