random shell scripts
A collection of random shell scripts to make life easier/fun.
prompt -- a script to change the shell prompt. 1) Home dir is changed to ~. 2) show only the last pwdmxlen characters of pwd. 3) Show time and bg jobs in prompt. 4) add colour and put the prompt in a second line.
user@host [HH:MM:SS][#_bg_jobs] pwd
>