Here's an example of a coloured prompt string;
Code:
prompt $E[1A$E[97;44mTCC $p$g
From the ANSI X3.64 Command Reference;
<ESC>[rowsA | Cursor up by rows (default is 1) |
$E[1A = Cursor up 1 row
$E[97;44m = Change colour to Bright White on a Blue background
TCC = Any text that you want
This is from the help for the
Prompt Command;
p | Current drive and directory (lower case). |
$p$g = Current drive and directory (lower case), and the > character.
Joe