Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/github/pr/95'
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed May 27, 2020
2 parents 594a332 + 640f2a0 commit 05add69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/zsh/zshrc
Expand Up @@ -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)
Expand Down

0 comments on commit 05add69

Please sign in to comment.