[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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20080916/a09191f1/attachment.pgp
More information about the Grml
mailing list