From 27b25196d8815f08391a6ff97abc72509305c4a2 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 5 Feb 2020 09:52:53 +0100 Subject: [PATCH] comments --- internal/p10k.zsh | 1 + 1 file changed, 1 insertion(+) 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