mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/mise: Add shell completions
Note that completions depend on https://github.com/jdx/usage that is not yet packaged. Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
@@ -854,7 +854,7 @@ CRATES="
|
||||
zstd@0.13.3
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="The front-end to your dev env"
|
||||
HOMEPAGE="https://mise.jdx.dev"
|
||||
@@ -872,6 +872,8 @@ LICENSE+="
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
@@ -893,7 +895,9 @@ src_install() {
|
||||
insinto /usr/share/fish/vendor_conf.d
|
||||
doins "${FILESDIR}"/mise.fish
|
||||
|
||||
# completions/mise.bash
|
||||
# completions/_mise
|
||||
# completions/mise.fish
|
||||
newbashcomp completions/mise.bash mise
|
||||
|
||||
dozshcomp completions/_mise
|
||||
|
||||
dofishcomp completions/mise.fish
|
||||
}
|
||||
Reference in New Issue
Block a user