Re: pwd and prompt don't update after deleting current working directory
From:
Eduardo Bustamante
Subject:
Re: pwd and prompt don't update after deleting current working directory
Date:
Thu, 11 Jul 2024 19:34:03 -0700
On Thu, Jul 11, 2024 at 7:20 PM David <bouncingcats@gmail.com> wrote:
(...)
> Hi, I disagree, and I think if you understand better why this occurs, you
> will understand why knowledgable users will disagree, and you will
> change your opinion.
>
I concur. The requested feature changes behavior in a
backwards-incompatible way, and thus it is guaranteed to break existing
scripts. The semantics of file removal in POSIX systems is well-defined,
and users of Bash and other POSIX compliant shells should make an effort to
learn about them, instead of changing every system to match their mental
model.