Skip to content

Commit

Permalink
add: zsh-autocomplete (#2565) (#2571)
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
raboneko and madonuko authored Dec 5, 2024
1 parent 2f6b466 commit a8c7037
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anda/devs/zsh-autocomplete/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "zsh-autocomplete.spec"
}
}
1 change: 1 addition & 0 deletions anda/devs/zsh-autocomplete/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("marlonrichert/zsh-autocomplete"));
31 changes: 31 additions & 0 deletions anda/devs/zsh-autocomplete/zsh-autocomplete.spec
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/

0 comments on commit a8c7037

Please sign in to comment.