diff options
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 03558340..7fa6ad3f 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1316,6 +1316,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 @@ -4567,6 +4568,7 @@ function _p9k_prompt_net_iface_compute() { } function _p9k_prompt_net_iface_async() { + # netstat -inbI en0 local iface ip line var typeset -a iface2ip if [[ -x /sbin/ifconfig ]]; then |