bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When a hashed pathname is deleted, search PATH


From: Reuben Thomas
Subject: Re: When a hashed pathname is deleted, search PATH
Date: Sat, 15 Mar 2014 18:44:10 +0000

On 15 March 2014 18:23, Chet Ramey <chet.ramey@case.edu> wrote:

> It's not been a problem, really.  The existence of the `checkhash' option
> has been enough.  How often do you remove binaries in directories in $PATH?
>

Fairly often: I frequently rename or retire scripts in my per-user bin
directory.

Since bash is happy to switch this on in POSIX mode, why not do so by
default? It's just another example of making something Just Work rather
than inflict a minor annoyance on the user which can only be resolved by
manual configuration (whose very existence escaped at least this
individual). This is precisely the sort of problem that I regularly fix in
my own systems and upstream, because in the big picture, it's just one of
many.

Is there a downside to making checkhash the default?

-- 
http://rrt.sc3d.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]