[issue1938] Zsh: fix for cd()

Thilo Six bts at bts.grml.org
Wed Oct 21 22:13:52 CEST 2015


Thilo Six <tech at xk2c.de> added the comment:

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 at bts.grml.org>
> <http://bts.grml.org/grml/issue1938>
> _____________________________________
>

----------
files: 0001-fixed-cd.patch
messages: 5589, 5590
nosy: Xk2c
priority: bug
status: chatting
title: Zsh: fix for cd()
topic: has patch, zsh

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1938>
_____________________________________


More information about the Bugs-changes mailing list