Skip to content

Commit

Permalink
battery: add acpi requirement to README (ohmyzsh#9116)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
  • Loading branch information
samuelterra22 and mcornella authored Jul 18, 2020
1 parent b33bb50 commit ae52087
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion plugins/battery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@ To use, add `battery` to the list of plugins in your `.zshrc` file:
Then, add the `battery_pct_prompt` function to your custom theme. For example:

```
RPROMPT='$(battery_pct_prompt)'
RPROMPT='$(battery_pct_prompt) ...'
```

## Requirements

On Linux, you must have the `acpi` tool installed on your operating system.

Here's an example of how to install with apt:
```
sudo apt-get install acpi
```

0 comments on commit ae52087

Please sign in to comment.