bash on Mac OS X
Subject:   if only ...
Date:   2004-02-28 04:29:31
From:   hysterion
Response to: if only ...

This does the precmd part. OTOH there is no bash equivalent for the postcmd part (used here to put the last command executed in the title bar).

This can be done in tcsh and zsh, but in bash there is simply no way unless you patch it.