summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-05-30 00:56:31 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-05-30 00:56:31 +0300
commit6f22892fb77dd8021aee262848bcc301d4ff44f9 (patch)
tree0ab6ff72610cd8689589a026f28574100d02dbcc
parent77024543f2fd6afd013a2fc340c9315ad360eeb5 (diff)
Variable scoping.
-rw-r--r--powerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index b7157f75..3016f443 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -46,7 +46,7 @@
# The `CURRENT_BG` variable is used to remember what the last BG color used was
# when building the left-hand prompt. Because the RPROMPT is created from
# right-left but reads the opposite, this isn't necessary for the other side.
-CURRENT_BG='NONE'
+local CURRENT_BG='NONE'
# These characters require the Powerline fonts to work properly. If see boxes or
# bizarre characters below, your fonts are not correctly installed.