mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-util/ruff: add missing completion for fish
Signed-off-by: Wang ZhuoCheng <me@puqns67.icu> Part-of: https://github.com/gentoo/gentoo/pull/45216 Closes: https://github.com/gentoo/gentoo/pull/45216 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
committed by
Patrick McLean
parent
9acf599e72
commit
0bf3f7adbb
@@ -1,4 +1,4 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.15.0
|
||||
@@ -92,6 +92,7 @@ src_compile() {
|
||||
releasedir=$(cargo_target_dir)
|
||||
|
||||
${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die
|
||||
${releasedir}/ruff generate-shell-completion fish > ruff-completion.fish || die
|
||||
${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die
|
||||
}
|
||||
|
||||
@@ -111,6 +112,7 @@ src_install() {
|
||||
dobin ${releasedir}/ruff
|
||||
|
||||
newbashcomp ruff-completion.bash ruff
|
||||
newfishcomp ruff-completion.fish ruff.fish
|
||||
newzshcomp ruff-completion.zsh _ruff
|
||||
|
||||
dodoc -r "${DOCS[@]}"
|
||||
Reference in New Issue
Block a user