1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

battery: revert battery charging symbol 1-character-width hack

Fixes #8804
This commit is contained in:
Marc Cornellà 2020-04-05 21:58:47 +02:00
parent 0caae9082a
commit d6474237b8

View file

@ -175,7 +175,7 @@ function battery_level_gauge() {
local filled_symbol=${BATTERY_GAUGE_FILLED_SYMBOL:-'▶'}
local empty_symbol=${BATTERY_GAUGE_EMPTY_SYMBOL:-'▷'}
local charging_color=${BATTERY_CHARGING_COLOR:-$color_yellow}
local charging_symbol=${BATTERY_CHARGING_SYMBOL:-'%{%G%}'}
local charging_symbol=${BATTERY_CHARGING_SYMBOL:-'⚡'}
local battery_remaining_percentage=$(battery_pct)
local filled empty gauge_color