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


Groups > linux.debian.user > #239531

Re: Tips/advice for installing latest version of fzf?

From Steve Dondley <s@dondley.com>
Newsgroups linux.debian.user
Subject Re: Tips/advice for installing latest version of fzf?
Date 2021-08-31 17:10 +0200
Message-ID <CSdyG-5mn-15@gated-at.bofh.it> (permalink)
References (1 earlier) <CScjf-4r7-5@gated-at.bofh.it> <CSd5D-4WC-15@gated-at.bofh.it> <CSdfj-505-9@gated-at.bofh.it> <CSdfk-505-21@gated-at.bofh.it> <CSdp1-53E-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> OK, so I dropped the new fzf into /usr/local/bin. I confirmed it is
> the correct version with:
> 
> admin@ip-172-30-0-226 /usr/local/bin
>> $ ./fzf --version
> 0.27.2 (e086f0b)
> 
> "echo $PATH" reports:
> 
> /usr/local/bin:/usr/bin:/bin:/usr/games
> 
> So it looks like any binary in /usr/local/bin should load first.
> 
> However, "which fzf" reports the /usr/bin as the location:
> 
> /usr/bin/fzf
> 
> I'm using zsh.
> 
> What am I missing?

So I renamed /usr/bin/fzf to /usr/bin/fzf~ and "which" finds the new fzf 
in /usr/local/bin. So I guess I have a bad misunderstanding of how $PATH 
works and directories that come later get loaded instead of directories 
that come earlier. Can this be right?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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