From: Michael Prokop Date: Wed, 27 May 2020 09:14:01 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/github/pr/95' X-Git-Tag: v0.17.1~1 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=05add691b8590d4b4532f1e0111f32dc1723494a;hp=594a33254b03d328d820a0db11ac071bb6728710;p=grml-etc-core.git Merge remote-tracking branch 'origin/github/pr/95' --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2875222..43cda0c 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1864,7 +1864,7 @@ done function batterydarwin () { GRML_BATTERY_LEVEL='' local -a table -table=( ${$(pmset -g ps)[(w)7,8]%%(\%|);} ) +table=( ${$(pmset -g ps)[(w)8,9]%%(\%|);} ) if [[ -n $table[2] ]] ; then case $table[2] in charging)