mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Merge pull request #726 from docwhat/pr/getColor-ignores-numbers
getColor() must always print result
This commit is contained in:
commit
6e9b89206f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue