mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
Test more readable
This commit is contained in:
parent
e39e024e74
commit
5ce384fb31
@ -80,7 +80,7 @@ function getColorCode() {
|
||||
echo -n "$1"
|
||||
fi
|
||||
# Check if value is none with any case.
|
||||
elif [[ $1 = [nN][oO][nN][eE] ]]
|
||||
elif [[ "${(L)1}" == "none" ]]
|
||||
then
|
||||
echo -n 'none'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user