Damien Miller: > bash has a PROMPT_COMMAND that allows a command to be executed before > each PS1 prompt is displayed. I've found this useful on occasion, so > this is the same thing for ksh(1).
PS1 is evaluated each time the prompt is displayed. You can put a command in $() in there. PROMPT_COMMAND seems redundant. -- Christian "naddy" Weisgerber [email protected]
