BTS

Message5589

Author Xk2c
Recipients Xk2c
Date 2015-10-21.20:08:50
Content
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
File name Uploaded
0001-fixed-cd.patch Xk2c, 2015-10-21.20:08:50
History
Date User Action Args
2015-10-21 20:08:51Xk2csetrecipients: + Xk2c
2015-10-21 20:08:50Xk2csetmessageid: <1445458130.99.0.411980218334.issue1938@bts.grml.org>
2015-10-21 20:08:50Xk2clinkissue1938 messages
2015-10-21 20:08:50Xk2ccreate