1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-16 09:50:06 +00:00

Sort the output of get_icon_names alphabetically

This commit is contained in:
Dominik Ritter 2017-03-19 17:23:48 +01:00
parent ec50da4ac5
commit e42cb50052

View file

@ -301,7 +301,8 @@ function print_icon() {
} }
get_icon_names() { get_icon_names() {
for key in ${(@k)icons}; do # Iterate over a ordered list of keys of the icons array
for key in ${(@kon)icons}; do
echo "POWERLEVEL9K_$key: ${icons[$key]}" echo "POWERLEVEL9K_$key: ${icons[$key]}"
done done
} }