[Grml] Bugreport zshrc+acpi

Michael Prokop mika at grml.org
Tue Sep 16 00:11:21 CEST 2008


* Kai Wilke <kiste at netzworkk.de> [20080914 11:27]:

> found error in /etc/zsh/zshrc of grml-etc-core-0.3.49.
> line 948:
> --- if [ "${PERCENT%%%}" -lt 20 ]] ; then
> +++ if [ "${PERCENT%%%,}" -lt 20 ]] ; then

> acpi output:
> Battery 0: Full, 100%, design capacity 65120 mAh

Alright, it's:

# acpi
     Battery 0: Full, 100%

vs.

# acpi
     Battery 0: Discharging, 100%, discharging [...]

Thanks, Kai.

@Frank: what do you suggest? AFAICS we should improve the way
$BATTERY works when running in GNU screen as well.

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20080916/a09191f1/attachment-0003.pgp>


More information about the Grml mailing list