diff --git a/fastfetch.spec b/fastfetch.spec index 535ae42..f677257 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -89,6 +89,15 @@ BuildArch: noarch %description bash-completion Bash command-line completion support for %{name}. +%package zsh-completion +Summary: Zsh Completion for %{name} +Supplements: (%{name} and zsh) +Requires: zsh +BuildArch: noarch + +%description zsh-completion +Zsh command-line completion support for %{name}. + %prep %autosetup @@ -117,4 +126,9 @@ Bash command-line completion support for %{name}. %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/fastfetch.fish +%files zsh-completion +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_fastfetch + %changelog