|
From: | David Hedlund |
Subject: | Re: pwd and prompt don't update after deleting current working directory |
Date: | Tue, 16 Jul 2024 15:49:54 +0200 |
User-agent: | Mozilla Thunderbird |
On 2024-07-16 15:31, Lawrence Velázquez wrote:
On Tue, Jul 16, 2024, at 3:47 AM, David Hedlund wrote:Do you think that it would be appropriate to submit this feature request to the developers of the rm command instead.How would this help? The rm utility cannot change the working directory of the shell that invokes it, or of any other process. Even if it could, that wouldn't help you if a different utility/application did the unlinking. (Never mind that there are no canonical "developers of the rm command". GNU is not the only implementation in the world.)
I appreciate your input. To be honest, I'm currently juggling multiple tasks and don't have the necessary bandwidth to fully consider this particular issue at the moment. Let's table this discussion for now.
For comparision, caja (file manager in MATE) is stepping back as many directories as needed when it is located in a directory that is deleted in bash or caja.Behavior that is appropriate for GUI applications is not necessarily appropriate for CLI utilities, and vice versa. The comparison is inapt.
[Prev in Thread] | Current Thread | [Next in Thread] |