Fix: False AC charging message on MacOS
Fixes dracula/tmux/issues/91
This commit is contained in:
parent
6757a53299
commit
33dc0396bf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ battery_status()
|
|||
;;
|
||||
|
||||
Darwin)
|
||||
status=$(pmset -g batt | sed -n 2p | cut -d ';' -f 2)
|
||||
status=$(pmset -g batt | sed -n 2p | cut -d ';' -f 2 | tr -d " ")
|
||||
;;
|
||||
|
||||
FreeBSD)
|
||||
|
|
Loading…
Reference in a new issue