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: Chet Ramey
Subject: Re: When a hashed pathname is deleted, search PATH
Date: Mon, 17 Mar 2014 10:12:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 3/15/14 2:44 PM, Reuben Thomas wrote:
> On 15 March 2014 18:23, Chet Ramey <chet.ramey@case.edu
> <mailto: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.

OK.  Based on the number of reports in the last few years, you are in the
minority.  Since it's not been an issue, there's been very little
motivation to change the current behavior.

> Is there a downside to making checkhash the default?

Only the minor performance hit it would extract on every command lookup.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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