X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=43cda0cd9f93be08c13d216a809f2f387b626bcd;hp=2875222438588c2505557c0d71b8c6f67b185c52;hb=05add691b8590d4b4532f1e0111f32dc1723494a;hpb=594a33254b03d328d820a0db11ac071bb6728710 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)