Commit 8611aa80 authored by guyzmo's avatar guyzmo Committed by Robby Russell
Browse files

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


Signed-off-by: default avatarGuyzmo <guyzmo+github+pub@m0g.net>
parent 98d8d342
...@@ -100,7 +100,7 @@ elif [[ "$OSTYPE" = linux* ]] ; then ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment