diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-12-15 02:31:09 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-12-15 03:59:46 +0300 |
commit | 71510361984568408f8dc87251c1a9e2abdddef2 (patch) | |
tree | f4fef0cdbfbfdb9c76b6abb92e774355cbc8eb5d /functions/icons.zsh | |
parent | 0059f9a0668b21ae358c7e8bdce6c3905f70152b (diff) |
Removed unecessary variable.
Diffstat (limited to 'functions/icons.zsh')
-rw-r--r-- | functions/icons.zsh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh index fcf08163..48396ff5 100644 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -190,9 +190,8 @@ fi function print_icon() { local icon_name=$1 local ICON_USER_VARIABLE=POWERLEVEL9K_${icon_name} - local USER_ICON=${(P)ICON_USER_VARIABLE} if defined "$ICON_USER_VARIABLE"; then - echo -n "$USER_ICON" + echo -n "${(P)ICON_USER_VARIABLE}" else echo -n "${icons[$icon_name]}" fi |