[issue1938] Zsh: fix for cd()

Thilo Six bts at bts.grml.org
Wed Oct 21 22:08:50 CEST 2015


New submission from Thilo Six <tech at xk2c.de>:

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

----------
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>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fixed-cd.patch
Type: text/x-diff
Size: 1438 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20151021/45258134/attachment.patch>


More information about the Bugs-changes mailing list