BTS

Message5590

Author Xk2c
Recipients
Date 2015-10-21.20:13:52
Content
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>
> _____________________________________
>
History
Date User Action Args
2015-10-21 20:13:52Xk2clinkissue1938 messages
2015-10-21 20:13:52Xk2ccreate