aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-05 11:52:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-05 11:52:53 +0300
commit27b25196d8815f08391a6ff97abc72509305c4a2 (patch)
tree1ee346e6104b6b14fa2c4a46d0abce2b65c79539
parentf7645af7e38c2ee8b5bbcd63c5cd342bcf308c68 (diff)
comments
-rw-r--r--internal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 9ba33a78..ac9e3bc9 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1312,6 +1312,7 @@ _p9k_prompt_battery_set_args() {
;;
Linux|Android)
+ # See https://sourceforge.net/projects/acpiclient.
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
(( $#bats )) || return