X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=817a9b5a19512e182a8ebd379b9574f0b342cfda;hb=640f2a04330b690a0ed829b4dc47de442ce55c9f;hp=296972970f9d85114a23fdbca745306f929362eb;hpb=1d927f2f77c896a86c0176bd878bd13075cdc87e;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2969729..817a9b5 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1856,7 +1856,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)