Fix: False AC charging message on MacOS

Fixes dracula/tmux/issues/91
This commit is contained in:
Ankush Menat 2021-01-26 17:03:10 +05:30
parent 6757a53299
commit 33dc0396bf
No known key found for this signature in database
GPG key ID: CB36108D7E7ECE21

View file

@ -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)