mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
parent
98d8d3429f
commit
8611aa8049
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user