Thilo Six schrieb/wrote:
> 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.
PS.
Vertically aligning the message for the user is a matter of taste.
Personally i find i mutch easier to see that way what has actually changed.
But i do not insist on that. Its up to you.
> kind regards,
>
> Thilo
>
> ----------
> files: 0001-fixed-cd.patch
> messages: 5589
> nosy: Xk2c
> priority: bug
> status: unread
> title: Zsh: fix for cd()
> topic: has patch, zsh
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1938>
> _____________________________________
> |