i feel rather dumb for not thing of this until now. it's been a constant annoyance that cd in scripts screws up plumbing. here's a fairly fool-proof solution.
unfortunately if you like your acme tag jumping like a jack rabbit with its tail on fire, you may be bored during compiles. :-) fn cd {flag i && builtin cd $* && awd} - erik