add: zsh-autocomplete (#2565) (#2570)

Closes #2533

(cherry picked from commit 571cffb18e)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-12-04 21:52:19 -08:00
committed by GitHub
parent 558738aae1
commit 8d12c458e1
3 changed files with 37 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "zsh-autocomplete.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("marlonrichert/zsh-autocomplete"));
@@ -0,0 +1,31 @@
%define debug_package %nil
Name: zsh-autocomplete
Version: 24.09.04
Release: 1%?dist
Summary: Real-time type-ahead completion for Zsh
License: MIT
URL: https://github.com/marlonrichert/zsh-autocomplete
Source0: %url/archive/refs/tags/%version.tar.gz
Packager: madonuko <mado@fyralabs.com>
%description
This plugin for Zsh adds real-time type-ahead autocompletion to your command
line, similar to what you find desktop apps. While you type on the command
line, available completions are listed automatically; no need to press any
keyboard shortcuts. Press Tab to insert the top completion or to select a
different one.
%prep
%autosetup
%build
%install
install -Dpm644 zsh-autocomplete.plugin.zsh -t %buildroot%_datadir/zsh-autocomplete/
mv Completions Functions %buildroot%_datadir/zsh-autocomplete/
%files
%doc README.md
%license LICENSE
%_datadir/zsh-autocomplete/