[issue1333] grml zshrc used on Linux 3.2 (e.g. Wheezy) shows before each prompt "batterylinux:6: no such file or directory: /sys/class/power_supply/BAT0/capacity"

Axel Beckert bts at bts.grml.org
Sun Dec 7 01:52:16 CET 2014


New submission from Axel Beckert <abe at deuxchevaux.org>:

If I use grml zshrc v0.10.3 on Debian Wheezy (with 3.2.x Linux kernel), I get
the error message 

batterylinux:6: no such file or directory: /sys/class/power_supply/BAT0/capacity
                                       

before each prompt.There is no "capacity" file in /sys/class/power_supply/BAT0/
(which exists) but it is used unconditionally in line 1677 of etc/zsh/zshrc.

It worked fine with grml zshrc v0.7.3.

----------
messages: 4913
nosy: abe
priority: wish
status: unread
title: grml zshrc used on Linux 3.2 (e.g. Wheezy) shows before each prompt "batterylinux:6: no such file or directory: /sys/class/power_supply/BAT0/capacity"
topic: configs, grml-etc-core, zsh

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1333>
_____________________________________


More information about the Bugs-changes mailing list