Use stricter quoting in vcs and chpwd
Avoid env reset in TRAPS and async jobs