diff --git a/pyenv.changes b/pyenv.changes index d12da1d..6cb95a5 100644 --- a/pyenv.changes +++ b/pyenv.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 25 09:40:29 UTC 2022 - Matej Cepl + +- Put fish completions in thr right directory. + + We don't have to worry about conflicting files, because fish + has a special directory for vendor completions which have + precedence over the fish native ones. + ------------------------------------------------------------------- Thu Feb 24 06:51:26 UTC 2022 - Matej Cepl diff --git a/pyenv.spec b/pyenv.spec index 80b9a36..1b2b4e6 100644 --- a/pyenv.spec +++ b/pyenv.spec @@ -98,7 +98,7 @@ cp -a pyenv.d %{buildroot}%{_sysconfdir}/ ## Install shell completions: install -D -m0644 completions/pyenv.bash %{buildroot}%{_datadir}/bash-completion/completions/pyenv install -D -m0644 completions/pyenv.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/pyenv -install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/completions/pyenv.fish +install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/pyenv.fish ## Install manpage install -D -m0644 man/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 @@ -143,7 +143,7 @@ popd %{_datadir}/bash-completion/completions/pyenv %files fish-completion -%{_datadir}/fish/completions/pyenv.fish +%{_datadir}/fish/vendor_completions.d/pyenv.fish %files zsh-completion %config %{_sysconfdir}/zsh_completion.d/pyenv