提交 8611aa80 编写于 作者: G guyzmo 提交者: Robby Russell

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

Signed-off-by: NGuyzmo <guyzmo+github+pub@m0g.net>
上级 98d8d342
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册