summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-01-27 15:37:23 +0100
committerHugues Hiegel <hugues@hiegel.fr>2009-01-27 15:37:23 +0100
commit797a02123b944800962437952bf5045a57c040d4 (patch)
tree20cbf8ff0a1e923ea0cbadbd369832faec8a467e
parent50cbc79d7d1da3b0daf900118af084c51abc6a61 (diff)
[PROMPT] Battery support correction when no battery..
-rw-r--r--12_Prompts.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index 4a02cb1..31240e0 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -138,6 +138,7 @@ update_prompt()
[ "$DEBUG" = "yes" ] && echo
else
BATTERY=
+ BATTERYSIZE=0
fi
[ "$DEBUG" = "yes" ] && echo -n " Horizontal bar..."