powerline-shell
powerline-shell copied to clipboard
Make battery warning optional
This PR makes the "battery directory could not be found" warning optional, for the case in which the user shares dotfiles between computers, some of which have batteries and some of which do not. One can configure it via:
"battery":
"directory_warning": false
}
The existing behavior remains the default.