mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +00:00
Sort the output of get_icon_names alphabetically
This commit is contained in:
+2
-1
@@ -301,7 +301,8 @@ function print_icon() {
|
||||
}
|
||||
|
||||
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]}"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user