Skip to content

Commit

Permalink
Fixing battery prompt formatting issue (cf #5894) (#5895)
Browse files Browse the repository at this point in the history
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
  • Loading branch information
guyzmo authored and robbyrussell committed Feb 23, 2017
1 parent 98d8d34 commit 8611aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/battery/battery.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8611aa8

Please sign in to comment.