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


Groups > linux.debian.user > #239526

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

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Steve Dondley <s@dondley.com>
Newsgroups linux.debian.user
Subject Re: Tips/advice for installing latest version of fzf?
Date Tue, 31 Aug 2021 16:50:01 +0200
Message-ID <CSdfj-505-9@gated-at.bofh.it> (permalink)
References <CSbQe-4fN-9@gated-at.bofh.it> <CScjf-4r7-5@gated-at.bofh.it> <CSd5D-4WC-15@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Tue Aug 31 14:46:09 2021
Old-Return-Path <s@dondley.com>
X-Amavis-Spam-Status No, score=-7.08 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
User-Agent Dondley
X-Sender s@dondley.com
Content-Type text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-user@lists.debian.org> archive/latest/780216
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/3aca455cf1cc4e364eb8143cdd529a72@dondley.com
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 31 Aug 2021 10:45:50 -0400
X-Original-Message-ID <3aca455cf1cc4e364eb8143cdd529a72@dondley.com>
X-Original-References <aa3ea5d943d844c4b4c268d27b816da5@dondley.com> <20210831134639.GB19926@connexer.com> <9d3012ff2e5d560d53686b8232c0059b@dondley.com>
Xref csiph.com linux.debian.user:239526

Show key headers only | View raw


>> Either way, the simplicity of the tool (in terms of it being a single
>> binary artifact that is deployed) makes it unlikely that you would
>> encounter any issues in doing this.
>> 
>> Regards,
>> 
>> -Roberto
> 
> OK, thank you, Roberto.
> 
> fzf comes with some shell integration tools like key bindings that can
> be installed according to the DEBIAN readme at
> /usr/share/doc/fzf/README.Debian. I'd prefer to keep those if at all
> possible. Based on what you are telling me, maybe I could try
> replacing the current binary with the newer one and keep the
> supporting debian package files in place.
> 
> I can't think of what harm could come from trying it to see if it
> works but I'm not very knowledgeable. So if this sounds like a really
> dumb idea, just let me know.

OK, this is even easier than I thought.

1) I copied /usr/bin/fzf to /usr/bin/fzf to /usr/bin/fzf~
2) Downloaded binary already available at 
https://github.com/junegunn/fzf/releases
3) Moved binary to /usr/bin/fzf

Everything appears to work just fine. Key bindings still work.

Now I'm just wondering if it would be better to keep the old fzf around 
and put the new fzf into a directory that $PATH loads before /usr/bin. 
I'm thinking this might be the proper way of doing this instead of my 
quick hack.

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