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

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
guyzmo 2017-02-23 08:50:49 +01:00 committed by Robby Russell
parent 98d8d3429f
commit 8611aa8049

View file

@ -100,7 +100,7 @@ elif [[ "$OSTYPE" = linux* ]] ; then
else else
color='red' color='red'
fi fi
echo "%{$fg[$color]%}[$(battery_pct_remaining)%%]%{$reset_color%}" echo "%{$fg[$color]%}$(battery_pct_remaining)%%%{$reset_color%}"
else else
echo "∞" echo "∞"
fi fi