Re: [PATCH] cd command defaults to ~

Eli Zaretskii
2012-07-05T17:50:42Z

> Date: Thu, 5 Jul 2012 10:34:19 -0700
> From: Nathaniel Flath <flat0103@gmail.com>
> Cc: gdb-patches@sourceware.org
>
> As for other possible behaviours - I think the POSIX
> standard for 'cd' with no arguments is to use the HOME directory, if
> it is set - http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cd.html
> is what I was looking at, so I don't think there would be too many
> people expecting a completely different behaviour.

You'd be surprised what Windows users expect to see as result of
typing "cd" without an argument ;-)

(Not that I object to the change you propose, though.)