mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-11 16:45:36 +00:00
getColor() must always print result
This was causing colors specified as numbers to not be shown.
This commit is contained in:
parent
fabc473381
commit
87988cea26
@ -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 New Issue
Block a user