mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Closes #2533
(cherry picked from commit 571cffb18e)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "zsh-autocomplete.spec"
|
||||
}
|
||||
}
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user