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
- X-seq: zsh-users 12012
- From: wgscott@xxxxxxxxxxxxxxxxxx
- To: Michael Hernandez <sequethin@xxxxxxxxx>
- Subject: Re: To have cpu frequency or/and battery state percentage in my prompt
- Date: Sun, 14 Oct 2007 09:46:26 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <E6F39601-1991-4F1A-AB00-6FAAEF8EF785@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fet5io$fg8$1@xxxxxxxxxxxxx> <E6F39601-1991-4F1A-AB00-6FAAEF8EF785@xxxxxxxxx>
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