Prompt fun
Sep. 19th, 2002 04:13 pmI 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
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