Install this version:
emerge -a =app-shells/zsh-autosuggestions-99999999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/zsh-autosuggestions-99999999
Or alternatively:
emerge --autounmask-write -a =app-shells/zsh-autosuggestions-99999999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 99999999 | 8 | 0 |
# Copyright 2011-2025 Martin V\"ath
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit readme.gentoo-r1
RESTRICT="mirror"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
case ${PV} in
99999999*)
EGIT_REPO_URI="https://github.com/zsh-users/zsh-autosuggestions"
EGIT_BRANCH="develop"
inherit git-r3
PROPERTIES="live"
SRC_URI=""
KEYWORDS="";;
*alpha*)
EGIT_COMMIT="7afb7364f1ba5cb87eb616516c9a7fa4b86539b6"
SRC_URI="https://github.com/zsh-users/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}";;
*)
SRC_URI="https://github.com/zsh-users/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz";;
esac
DESCRIPTION="Fish-like autosuggestions for zsh"
HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions/"
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND="app-shells/zsh"
DEPEND=""
src_install() {
local DISABLE_AUTOFORMATTING DOC_CONTENTS dir
dir="/usr/share/zsh/site-contrib/${PN}"
DISABLE_AUTOFORMATTING="true"
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
. ${EPREFIX}${dir}/zsh-autosuggestions.zsh"'
at the end of your ~/.zshrc
For testing, you can also execute the above command in your zsh.'
readme.gentoo_create_doc
insinto "${dir}"
doins *.zsh
doins -r spec src
dodoc *.md
}
pkg_postinst() {
readme.gentoo_print_elog
}
app-shells/zsh