summaryrefslogtreecommitdiff
path: root/functions/icons.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/icons.zsh')
-rw-r--r--functions/icons.zsh15
1 files changed, 7 insertions, 8 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh
index fcf08163..4ba4811e 100644
--- a/functions/icons.zsh
+++ b/functions/icons.zsh
@@ -43,9 +43,9 @@ case $POWERLEVEL9K_MODE in
FREEBSD_ICON $'\U1F608 ' # 😈
LINUX_ICON $'\UE271' # 
SUNOS_ICON $'\U1F31E ' # 🌞
- HOME_ICON $'\UE12C ' # 
- FOLDER_ICON $'\UE818 ' # 
- NETWORK_ICON $'\UE1AD ' # 
+ HOME_ICON $'\UE12C' # 
+ FOLDER_ICON $'\UE818' # 
+ NETWORK_ICON $'\UE1AD' # 
LOAD_ICON $'\UE190 ' # 
#RAM_ICON $'\UE87D' # 
RAM_ICON $'\UE1E2 ' # 
@@ -95,9 +95,9 @@ case $POWERLEVEL9K_MODE in
FREEBSD_ICON $'\U1F608 ' # 😈
LINUX_ICON $'\UF17C' # 
SUNOS_ICON $'\UF185 ' # 
- HOME_ICON $'\UF015 ' # 
- FOLDER_ICON $'\UF115 ' # 
- NETWORK_ICON $'\UF09E ' # 
+ HOME_ICON $'\UF015' # 
+ FOLDER_ICON $'\UF115' # 
+ NETWORK_ICON $'\UF09E' # 
LOAD_ICON $'\UF080 ' # 
RAM_ICON $'\UF0E4' # 
VCS_UNTRACKED_ICON $'\UF059' # 
@@ -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