Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "bad math expression" for battery with UPS
Fixes spaceship-prompt#245 `spaceship_battery:56: bad math expression: operator expected at '100'` if multiple battery statuses are reported (on macOS, at least). Happens when pmset reports secondary charge due to UPS.
- Loading branch information