-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Closes #2533 (cherry picked from commit 571cffb) Co-authored-by: madomado <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "zsh-autocomplete.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("marlonrichert/zsh-autocomplete")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> | ||
|
||
%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/ |