diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2017-03-06 21:20:30 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2017-03-06 21:20:30 -0700 |
commit | a80fe8e13cbad6e5ba5d2009ac8290a5255992f2 (patch) | |
tree | 70bdb576b7e4ba3ee42152a81bed32b771260686 /plugins/battery | |
parent | 0b40a79fa01f2b4649147342d4c5de2550121d9e (diff) | |
parent | b908feebcfb0ca8a9a80360d177e716c24c317d6 (diff) | |
download | zsh-a80fe8e13cbad6e5ba5d2009ac8290a5255992f2.tar.gz zsh-a80fe8e13cbad6e5ba5d2009ac8290a5255992f2.tar.bz2 zsh-a80fe8e13cbad6e5ba5d2009ac8290a5255992f2.zip |
Merge remote-tracking branch 'origin'
Diffstat (limited to 'plugins/battery')
-rw-r--r-- | plugins/battery/battery.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/battery/battery.plugin.zsh b/plugins/battery/battery.plugin.zsh index da229cf35..8f398cfb3 100644 --- a/plugins/battery/battery.plugin.zsh +++ b/plugins/battery/battery.plugin.zsh @@ -100,7 +100,7 @@ elif [[ "$OSTYPE" = linux* ]] ; then else color='red' fi - echo "%{$fg[$color]%}[$(battery_pct_remaining)%%]%{$reset_color%}" + echo "%{$fg[$color]%}$(battery_pct_remaining)%%%{$reset_color%}" else echo "∞" fi |