1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-01 15:40:07 +00:00

Test more readable

This commit is contained in:
Ythildir 2018-07-22 00:21:59 +02:00
parent e39e024e74
commit 5ce384fb31

View file

@ -80,7 +80,7 @@ function getColorCode() {
echo -n "$1" echo -n "$1"
fi fi
# Check if value is none with any case. # Check if value is none with any case.
elif [[ $1 = [nN][oO][nN][eE] ]] elif [[ "${(L)1}" == "none" ]]
then then
echo -n 'none' echo -n 'none'
else else