1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00
Commit graph

8 commits

Author SHA1 Message Date
Brice Dutheil
cc8b09366b Adds a method that print a battery gauge
It is especially useful for themes, this function is a port of the code written by Steve Losh
and made available on [this blog entry](http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/#my-right-prompt-battery-capacity)
2014-01-18 13:58:42 +01:00
James Seward
8cfc7d6677 Prevent errors in prompts if no info available.
Define empty functions instead of none at all if we can't figure out the
platform.
2013-11-04 21:00:11 -05:00
Robby Russell
7787d1da6e Merge pull request #1641 from NeuralSandwich/master
Battery plugin updates
2013-04-23 20:01:40 -07:00
Ron Shapiro
bc385531b0 Separate the battery_pct_remaining data into it's own function so that it can be obtained even if the battery is connected. 2013-04-20 22:37:36 -04:00
Sean Jones
fdd46d8815 Updated battery plugin. Displays charging time.
linux battery level now refreshes after every command
2013-03-02 11:09:57 +00:00
Sean Jones
5991bf3ac1 Fixed Kernel Detection in battery plugin 2012-12-02 20:39:01 +00:00
Sean Jones
e226fc048a Added support for Mac to battery plugin 2012-12-02 19:36:33 +00:00
Peter Hoeg
6095fe4f71 add: battery plugin 2011-10-20 14:12:13 +08:00