From: wgscott@chemistry.ucsc.edu
To: Michael Hernandez <sequethin@gmail.com>
Cc: zsh-users@sunsite.dk
Subject: Re: To have cpu frequency or/and battery state percentage in my prompt
Date: Sun, 14 Oct 2007 09:46:26 -0700 [thread overview]
Message-ID: <20071014094626.a497b9d0.wgscott@chemistry.ucsc.edu> (raw)
In-Reply-To: <E6F39601-1991-4F1A-AB00-6FAAEF8EF785@gmail.com>
On Sun, 14 Oct 2007 12:02:46 -0400
Michael Hernandez <sequethin@gmail.com> 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
next prev parent reply other threads:[~2007-10-14 21:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-14 13:26 giggz
2007-10-14 16:02 ` Michael Hernandez
2007-10-14 16:46 ` wgscott [this message]
2007-10-14 19:15 ` Michael Hernandez
2007-10-14 16:10 ` wgscott
2007-10-14 20:47 ` Atom Smasher
2007-10-14 20:55 ` giggz
2007-10-14 21:30 ` Atom Smasher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071014094626.a497b9d0.wgscott@chemistry.ucsc.edu \
--to=wgscott@chemistry.ucsc.edu \
--cc=sequethin@gmail.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).