public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Kuhn <suraia@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fzf] rawhide: Fix Zsh completions (rhbz#1513913)
Date: Fri, 13 Nov 2026 04:47:23 GMT	[thread overview]
Message-ID: <179454524329.1.5579575691102362297.rpms-fzf-e9c32e5b993f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fzf
            Branch : rawhide
            Commit : e9c32e5b993ffd7528a46303a76461733775b914
            Author : Michael Kuhn <suraia@fedoraproject.org>
            Date   : 2026-11-13T04:33:05+00:00
            Stats  : +1/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fzf/c/e9c32e5b993ffd7528a46303a76461733775b914?branch=rawhide

            Log:
            Fix Zsh completions (rhbz#1513913)

Files installed in `/usr/share/zsh/site-functions` are meant as
completion functions for individual commands. For example, `_mpv`
contains completions for the `mpv` command. fzf's completion script does
not work like this and therefore should not be installed into that
directory. Leave it to users to load it in their `.zshrc` instead.

---
diff --git a/fzf.spec b/fzf.spec
index 32a2ba4..19d1d87 100644
--- a/fzf.spec
+++ b/fzf.spec
@@ -55,7 +55,7 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/nvim/site/plugin plugin/fzf.vim
 # fzf is special, bash completion must be in /etc/bash_completion.d
 # https://bugzilla.redhat.com/show_bug.cgi?id=1789958#c7
 install -Dpm0644 shell/completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/fzf
-install -Dpm0644 shell/completion.zsh %{buildroot}%{zsh_completions_dir}/_fzf
+install -Dpm0644 -t %{buildroot}%{_datadir}/fzf/shell shell/completion.zsh
 
 # Install shell key bindings (not enabled)
 install -Dpm0644 -t %{buildroot}%{_datadir}/fzf/shell shell/key-bindings.*
@@ -80,7 +80,6 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/fzf/shell shell/key-bindings.*
 %dir %{_datadir}/nvim/site/plugin
 %{_datadir}/nvim/site/plugin/fzf.vim
 %{_sysconfdir}/bash_completion.d/fzf
-%{zsh_completions_dir}/_fzf
 
 
 %changelog

                 reply	other threads:[~2026-11-13  4:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179454524329.1.5579575691102362297.rpms-fzf-e9c32e5b993f@fedoraproject.org \
    --to=suraia@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox