aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions/icons.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh
index 26412543..627d0cef 100644
--- a/functions/icons.zsh
+++ b/functions/icons.zsh
@@ -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
}