a3740c34148a7a44d82683d2aa31c98f32b21a96

Author
Samuel Terra <samuelterra22@hotmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

battery: add acpi requirement to README (#9116)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

Diff

 1diff --git a/plugins/battery/README.md b/plugins/battery/README.md
 2index b7a13a7ecc2ac6aa79c1492d2d6e2cda8237155a..c2554a36db149b9a00111bbf99f35d1fa3ef535a 100644
 3--- a/plugins/battery/README.md
 4+++ b/plugins/battery/README.md
 5@@ -9,5 +9,14 @@ To use, add `battery` to the list of plugins in your `.zshrc` file:
 6 Then, add the `battery_pct_prompt` function to your custom theme. For example:
 7 
 8 ```
 9-RPROMPT='$(battery_pct_prompt)'
10+RPROMPT='$(battery_pct_prompt) ...'
11+```
12+
13+## Requirements
14+
15+On Linux, you must have the `acpi` tool installed on your operating system.
16+
17+Here's an example of how to install with apt:
18+```
19+sudo apt-get install acpi
20 ```