Fixing battery prompt formatting issue (cf #5894) (#5895)

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
guyzmo authored and Robby Russell committed 2017-02-22 23:50:49 -08:00
1 parent 98d8d3429f
commit 8611aa8049
1 file changed
+1 -1
+1 -1
View File
@@ -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