Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14702

Re: Auto-update program cache feature

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Auto-update program cache feature
Date 2018-10-08 09:06 -0400
Message-ID <mailman.1851.1539004006.1284.bug-bash@gnu.org> (permalink)
References <CAH8yC8kgkFRBaq85Z-tf+4x+DNqEU1CD-iZMgzJ6nYge-N4Sgg@mail.gmail.com> <20181006141620667276256@bob.proulx.com>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Auto-update program cache feature Chet Ramey <chet.ramey@case.edu> - 2018-10-08 09:06 -0400

csiph-web