Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: To have cpu frequency or/and battery state percentage in my prompt



On Sun, 14 Oct 2007 12:02:46 -0400
Michael Hernandez <sequethin@xxxxxxxxx> wrote:

     
     On Oct 14, 2007, at 9:26 AM, giggz wrote:
     
     > Hi,
     >
     > I search ideas to have a good prompt which display the cpu frequency
     > or/and the battery state in my zsh prompt.
     >
     > So if you have ideas and examples which I can put in my zshrc...
     >
     > Thx and Regards,
     > Guillaume
     >
     
     
     What OS are you using? I have a mostly-working combination of scripts  
     that shows me battery percentage on my mac. Also if you look at the  
     clint prompt that is shipped with zsh there is some apm stuff in there.
     
     
     --Mike H
     
I just found this "battery" script of OS X that is even written in zsh!

http://www.mitt-eget.com/software/macosx/battery/battery



Messages sorted by: Reverse Date, Date, Thread, Author