projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix darwin battery info field selection
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
2969729
..
817a9b5
100644
(file)
--- 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)