Prompt fun

Sep. 19th, 2002 04:13 pm
hugme: (Default)
[personal profile] hugme
I wrote a couple of things last night and today

First a bash command prompt for laptops that will show how much power you have in your batter and turn red if it gets below 40%, it will also tell you if your cable is plugged in or not.

The second part is a function to put in your /etc/profile so that your users can more easily make color chanes to their prompt.

I am considering adding this variable:

ANNOY=\$(sleep 8)

http://www.hugme.org/freebsd/install/adv-prompts.txt
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

hugme: (Default)
hugme

April 2011

S M T W T F S
     12
3456789
10111213141516
17 181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 8th, 2026 08:17 am
Powered by Dreamwidth Studios