Combo Prompt

This prompt is from the Bash Prompt Themes package. It sets both the PS1 and PS2 strings. It requires a VGA font.

Code:


# Created by James Manning <jmm@raleigh.ibm.com>
# Changed by Spidey 08/06
function combo {
PS1="\[\033[01;34;01m\]\333\262\261\260\[\033[01;37;44m\]\u@\h\[\033[00;34;40m\]\260\261\262\333\[\033[00;34;40m\]\333\262\261\260\[\033[01;37;40m\] \d \$(date +%I:%M:%S%P)\n\[\033[01;33;40m\]$PWD>\[\033[00m\] "
PS2="\[\033[01;34;01m\]\333\262\261\260\[\033[00;34;40m\]\260\261\262\333\[\033[00;34;40m\]\333\262\261\260\[\033[01;01;34m\]>\[\033[00m\] "
}


http://gilesorr.com/bashprompt/prompts/combo.html (913 b)
Last modified 20060518 by giles