Skip to content

Commit

Permalink
add: zsh-history-substring-search-git (#4652)
Browse files Browse the repository at this point in the history
Co-authored-by: Elsie <[email protected]>
  • Loading branch information
Zahrun and Elsie19 authored Oct 12, 2023
1 parent a0e1e11 commit 557d2b9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -465,3 +465,4 @@ zoho-notebook-deb
zoom-deb
zotero
zoxide-deb
zsh-history-substring-search-git
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name="zsh-history-substring-search-git"
pkgname="zsh-history-substring-search"
url="https://github.com/zsh-users/zsh-history-substring-search.git"
pkgver="1.1.0"
depends=("zsh")
breaks=("${pkgname}")
replace=("${pkgname}")
gives=("${pkgname}")
pkgdesc="ZSH port of Fish history search (up arrow)"
maintainer="Zahrun <[email protected]>"
pkgver() {
git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8
}

package() {
sudo install -d "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search"
sudo install -m 755 ./*.zsh -t "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search"
}

0 comments on commit 557d2b9

Please sign in to comment.