Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239536
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Tips/advice for installing latest version of fzf? |
| Date | 2021-08-31 18:10 +0200 |
| Message-ID | <CSeuJ-5Vo-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <CSdfj-505-9@gated-at.bofh.it> <CSdfk-505-21@gated-at.bofh.it> <CSdp1-53E-19@gated-at.bofh.it> <CSdyF-5mn-5@gated-at.bofh.it> <CSdIm-5pC-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Tue, Aug 31, 2021 at 11:19:10AM -0400, Steve Dondley wrote: > > >This sounds like a stale-hash situation. According to my understanding, > >the shell will typically keep a cache of what path it found a given > >command at when it checked for that command in $PATH, so it > >doesn't have > >to re-do the filesystem accesses on every run of the command; this > >mapping of known paths to commands is apparently referred to as a > >set of > >hashes. > > > >I'm not familiar with zsh, but in bash, you could try 'hash -d fzf' to > >drop the cached known path for fzf (so that the next check will look it > >up again from scratch), or even 'hash -r' to forget *all* the known > >paths for everything. > > Ah, yes, some kind of zsh command caching appears to be implemented. > But rather than guessing at the correct zsh command, logging in with > a totally new shell corrected the problem and "which" now shows the > expected path. There's `hash -r' for that (bash, dash). I'd bet that zsh has something along that lines, too. Cheers - t
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 15:20 +0200
Re: Tips/advice for installing latest version of fzf? Roberto C. Sánchez <roberto@debian.org> - 2021-08-31 15:50 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 16:40 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 16:50 +0200
Re: Tips/advice for installing latest version of fzf? Greg Wooledge <greg@wooledge.org> - 2021-08-31 16:50 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 17:00 +0200
Re: Tips/advice for installing latest version of fzf? The Wanderer <wanderer@fastmail.fm> - 2021-08-31 17:10 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 17:20 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 17:40 +0200
Re: Tips/advice for installing latest version of fzf? Greg Wooledge <greg@wooledge.org> - 2021-08-31 17:40 +0200
Re: Tips/advice for installing latest version of fzf? <tomas@tuxteam.de> - 2021-08-31 18:10 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 20:30 +0200
Re: Tips/advice for installing latest version of fzf? Greg Wooledge <greg@wooledge.org> - 2021-08-31 20:50 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 23:30 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 17:10 +0200
Re: Tips/advice for installing latest version of fzf? Greg Wooledge <greg@wooledge.org> - 2021-08-31 17:40 +0200
Re: Tips/advice for installing latest version of fzf? Steve Dondley <s@dondley.com> - 2021-08-31 20:30 +0200
Re: Tips/advice for installing latest version of fzf? Richard Hector <richard@walnut.gen.nz> - 2021-09-04 11:30 +0200
Re: Tips/advice for installing latest version of fzf? Anssi Saari <as@sci.fi> - 2021-09-01 12:20 +0200
csiph-web