mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
getColor() must always print result
This was causing colors specified as numbers to not be shown.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user