Merge remote-tracking branch 'origin/github/pr/95'
authorMichael Prokop <mika@grml.org>
Wed, 27 May 2020 09:14:01 +0000 (11:14 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 27 May 2020 09:14:01 +0000 (11:14 +0200)
etc/zsh/zshrc

index 2875222..43cda0c 100644 (file)
@@ -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)