bug-bash
[Top][All Lists]
Advanced

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

Re: Auto-update program cache feature


From: Chet Ramey
Subject: Re: Auto-update program cache feature
Date: Mon, 8 Oct 2018 09:06:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 10/6/18 4:23 PM, Bob Proulx wrote:
> Jeffrey Walton wrote:
>> I think a useful feature for Bash would be to automatically update the
>> program cache after an install.
> 
> Put this in your ~/.bashrc file and I believe your use case will be
> much happier.
> 
>   shopt -s checkhash

How many installers put a new version of an existing package into a
possibly-different directory with a different name? Even using a symlink
pointing to a new name would not trigger this behavior.

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



reply via email to

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