app-shells/zsh-history-substring-search: initial import

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod 2022-04-05 23:25:37 +02:00
parent 1a314c8922
commit 52ee6ff68c
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST zsh-history-substring-search-1.0.2.tar.gz 9074 BLAKE2B 26c6a080f82586eef9b33bfbe1da89951a6bb9d8e7362dca83d90b9d491e3cd497fb3b4be2ab1a94082351711b941bd7942cd554e7e4d93a69d4168ef13f80ee SHA512 9547cdd74f6bd5b102ca29b7b455cd4ce7450fe86864b5a149365de4c37d3da887edb403b195e80c142fe61861a3e4c063a5d8ba08ec0532b27a1207c80a023d

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<upstream>
<remote-id type="github">zsh-users/zsh-history-substring-search</remote-id>
</upstream>
<longdescription lang="en">
A clean-room implementation of the Fish shell's history search
feature, where you can type in any part of any command from
history and then press chosen keys, such as the UP and DOWN
arrows, to cycle through matches.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit readme.gentoo-r1
DESCRIPTION="ZSH port of Fish history search (up arrow)"
HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search"
SRC_URI="https://github.com/zsh-users/zsh-history-substring-search/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-shells/zsh"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
. /usr/share/zsh/site-functions/async.zsh
at the end of your ~/.zshrc"
src_install() {
insinto /usr/share/zsh/site-functions
doins ${PN}.zsh
readme.gentoo_create_doc
einstalldocs
}
pkg_postinst() {
readme.gentoo_print_elog
}