Date: Fri, 12 Jul 2024 03:53:01 +0200 From: David Hedlund <dav...@gnu.org> Message-ID: <820e6ee2-7444-4a01-991a-3530c2591...@gnu.org>
| Thanks, Lawrence! I found this discussion helpful and believe it would | be a valuable feature to add. Can I submit this as a feature request? You can try, but don't expect it to succeed. Apart from this not being desirable behaviour at all (the directory bash is in still exists as long as it is being referenced, there's just no longer a path which reaches it from "/") how exactly do you expect bash to discover that the directory it is in has been orphaned like that? Is it supposed to continually run "stat($PWD, ...)" forever (after all the directory might be removed from elsewhere while you're in the middle of typing a command - what do you expect to happen then?) kre