aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-08-19 00:44:21 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-08-19 00:44:21 +0300
commit5795442dbcdeb90cc1d5e8f445f019ce5621c12d (patch)
tree939a003caf0a04f95c2848ea61dedeb0a710afbc /powerlevel9k.zsh-theme
parent818fe15cf556b0bdcd0ceaf2d3a09db1ef885cd8 (diff)
Set icon-Array as global variable, so that it is visible in later functions. This is important to make the icon-override mechanism work in antigen.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 72314412..f52db572 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -52,7 +52,7 @@
# bizarre characters below, your fonts are not correctly installed. If you
# do not want to install a special font, you can set `POWERLEVEL9K_MODE` to
# `compatible`. This shows all icons in regular symbols.
-typeset -A icons
+typeset -gAH icons
case $POWERLEVEL9K_MODE in
'flat'|'awesome-patched')
# Awesome-Patched Font required!