From 71510361984568408f8dc87251c1a9e2abdddef2 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Tue, 15 Dec 2015 00:31:09 +0100 Subject: [PATCH] Removed unecessary variable. --- functions/icons.zsh | 3 +-- 1 file changed, 1 insertion(+), 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