summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorrjorgenson <rjorgenson@gmail.com>2015-10-18 21:01:52 +0300
committerrjorgenson <rjorgenson@gmail.com>2015-10-18 21:01:52 +0300
commit118008c402338b1693ee7db4120b0ff374e542c3 (patch)
tree5656081e24d278a9d7b4bfce1d821522e7763d55 /powerlevel9k.zsh-theme
parentacf5e97756a97c0feb12c38475266b0c079ca25f (diff)
fixed output string color declaration
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 6dd4f8da..097dac4f 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -652,7 +652,7 @@ prompt_battery() {
fi
# display prompt_segment
- [[ ! -z $bat_percent ]] && "$1_prompt_segment" "$0" "black" "$DEFAULT_COLOR" "$conn$(print_icon 'BATTERY_ICON'){$fg_color} $bat_percent%% $remain"
+ [[ ! -z $bat_percent ]] && "$1_prompt_segment" "$0" "black" "$DEFAULT_COLOR" "$conn$(print_icon 'BATTERY_ICON')%F{$fg_color} $bat_percent%% $remain"
fi
}