# HG changeset patch # User Steve Losh # Date 1265077056 18000 # Node ID 938cf9c8cdb89e855d97096bfdfa029304b668f3 # Parent a2125cb20c5428ce4ff00a5f91e61ce53d186067 Update with the beginnings of a Linux battery cap script. diff -r a2125cb20c54 -r 938cf9c8cdb8 content/blog/2010/02/my-extravagant-zsh-prompt.html --- a/content/blog/2010/02/my-extravagant-zsh-prompt.html Mon Feb 01 18:49:04 2010 -0500 +++ b/content/blog/2010/02/my-extravagant-zsh-prompt.html Mon Feb 01 21:17:36 2010 -0500 @@ -245,6 +245,13 @@ from a decent browser. If the colors don't work post a comment and I'll put the raw script up somewhere so you can download it. +**UPDATE:** [ehamberg][] [sent me][ehbtweet] the beginnings of a +Linux-compatible battery capacity script. If you flesh it out and make it into +a complete script please let me know and I'll add it here. + +[ehamberg]: http://twitter.com/ehamberg/ +[ehbtweet]: http://twitter.com/ehamberg/status/8503213690 + I've put this script in a file named `batcharge.py` in my `~/bin/` directory. You can of course name it and place it anything/anywhere you like. diff -r a2125cb20c54 -r 938cf9c8cdb8 media/images/blog/2010/02/zsh-prompt-comments.png Binary file media/images/blog/2010/02/zsh-prompt-comments.png has changed diff -r a2125cb20c54 -r 938cf9c8cdb8 media/images/blog/2010/02/zsh-prompt.png Binary file media/images/blog/2010/02/zsh-prompt.png has changed