Slight update.. ksh prompt
Posted Sat, 09 Aug 2003
Found a few issues with the latest changes I made to my ksh prompt...
Keep in mind that
Previously, it didn't report exit codes due to kludges that made
[ -w "/" ] && Z="#" || Z=">"; export Z
|
Keep in mind that
PROMPT is very long...Previously, it didn't report exit codes due to kludges that made
$? change to 0 due to the exit status of some of the crap that runs inside the prompt.
Huzzah.
However, on a sad note I'll point out the obnoxious length of PS1 now...
nightfall(~) [569] > echo "${#PS1}"
257