Hello
The old cd() had several shortcommings:
* it broke 'cd -'
* did hide cds exit status
This patch fixes those, without losing the ability to cd to a files residence.
The advantage of this version is we allways use builtin cd (please note cd is
used often in random scripts) and *only* when that returns error we do clever
things.
This patch also restores cds original exit status.
kind regards,
Thilo |