forked from pool/pyenv
Accepting request 957589 from home:mcepl:branches:shells
- 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. OBS-URL: https://build.opensuse.org/request/show/957589 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/pyenv?expand=0&rev=26
This commit is contained in:
parent
44ea4f1c44
commit
5d32796b41
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 25 09:40:29 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user