mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-11-21 02:01:29 -08:00
add zsh-history-substring-search-1.0.2
This commit is contained in:
parent
0f852a7006
commit
61d3844552
@ -1,3 +1,5 @@
|
||||
DIST zsh-history-substring-search-1.0.1.tar.gz 8409 BLAKE2B 7c04541f692b9099059fb4ca1e7a5655eca3e3f8ab686ae434cb608c30ff598b734d875081b523dfc51c3643a77f70416223991c85f1fcaf84c4a4dd8f7d29ff SHA512 0795befa068cedd46578960cf4102baafd182b69db598700c6361aebf17f64615972a981a5c4aad48318c45e9e9cd623d53956c704baa1b024cef9df83b138eb
|
||||
DIST zsh-history-substring-search-1.0.2.tar.gz 9074 BLAKE2B 26c6a080f82586eef9b33bfbe1da89951a6bb9d8e7362dca83d90b9d491e3cd497fb3b4be2ab1a94082351711b941bd7942cd554e7e4d93a69d4168ef13f80ee SHA512 9547cdd74f6bd5b102ca29b7b455cd4ce7450fe86864b5a149365de4c37d3da887edb403b195e80c142fe61861a3e4c063a5d8ba08ec0532b27a1207c80a023d
|
||||
EBUILD zsh-history-substring-search-1.0.1-r5.ebuild 1102 BLAKE2B 71d1a7728dcca3aeaca74c854802897adf589240aa83920aa8e855a37de67f79b93920d632eddbd875447f971b22cda98156cd92776bf84060cc36f52e3a8af5 SHA512 75b71b4a854bdb50775cf4c9124b926c68cd2c3fdf87dadb74fba3c2075cc7c51cdfaabb7988989df67de0e5f76d05c00c1f06476c0153b817179ed523b312cd
|
||||
EBUILD zsh-history-substring-search-1.0.2.ebuild 1100 BLAKE2B 492c79a613b20d53961fe0abc7874f30c274a9dbbcce834e0bf03dc711d70f6f767e34af7bfe6f9d3a612eba7c9d1a47231fe61c554832eedf6f7878c05dad87 SHA512 d186b977b5a5259750f8c9dbfcc7b20936de5fa9542397032f8f5eca0205caedd7e3cb4ee23d706df7f6809c9e9f3a2fcb4b998eb26aec71f822ffa49cdec082
|
||||
MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ZSH plugin to search history, a clean-room impl of the Fish shell feature"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search"
|
||||
SRC_URI="https://github.com/zsh-users/zsh-history-substring-search/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE=BSD
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~arm"
|
||||
IUSE="+doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
app-shells/zsh"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
|
||||
DOC_CONTENTS=" ********************************
|
||||
In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/zsh-history-substring-search.zsh'
|
||||
************** and also add hotkeys ***************
|
||||
bindkey '\\\eOA' history-substring-search-up
|
||||
bindkey '\\\eOB' history-substring-search-down"
|
||||
|
||||
src_install() {
|
||||
use doc || rm "${S}/README.md"
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
use doc && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use doc && readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user