News for hackers. Stuff that matters.
Re:Cd command is broken by maerF0x0 on Tuesday March 26, 2013 @12:58AM (#5441485)
scripting is your friend:

$ function newcd(){ cd $1; ls;}

$ alias cd=newcd

$ cd ..

$ cd Desktop

EDIT: I had accidentally put a "$1" in the ls command, now removed.

Re:Cd command is broken by jiyinyiyong on Tuesday March 26, 2013 @11:27PM (#5447639)
That's my solution right now. There's a bug I don't kown if you can grt rid of it or not.

When I type `cd a\ dir`, it works, while `c a\ dir` fails. `$1` seems not to cover the whole parameter. Can you fix this?