Prior to $PS0, you could use trap DEBUG: BTW, hcm's "fancy terminal window" sets all this up for you automatically if you're on a bash that doesn't have $PS0.


Back to Dan's tech tidbits