diff options
author | Syphdias <syphdias+git@gmail.com> | 2019-05-24 00:44:17 +0300 |
---|---|---|
committer | Syphdias <syphdias+git@gmail.com> | 2019-05-24 00:51:40 +0300 |
commit | 6310083a3474afa5458c9708f93dc09ba1c6753b (patch) | |
tree | 7027e2220918033a3c050875a147cd9b859e04a2 /powerlevel9k.zsh-theme | |
parent | 6539b1cb38a6719655151a9dba9dee768c182287 (diff) |
battery segment for symlinkers
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 5e160233..a89ee6a7 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -494,7 +494,7 @@ prompt_battery() { ;; Linux|Android) - local -a bats=( /sys/class/power_supply/(BAT*|battery)(FN) ) + local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) ) (( $#bats )) || return local -i energy_now energy_full power_now |