guru/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild
tastytea 202b28659a
app-shells/zsh-history-substring-search: fix readme
Closes: https://bugs.gentoo.org/921250
Signed-off-by: tastytea <gentoo@tastytea.de>
2024-01-03 11:39:35 +01:00

34 lines
792 B
Bash

# Copyright 2022,2024 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 ~arm"
RDEPEND="app-shells/zsh"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
. /usr/share/zsh/site-functions/zsh-history-substring-search.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
}