mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/pip: Update shell completion generation
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -58,10 +58,10 @@ python_install_all() {
|
||||
|
||||
COMPLETION="${T}"/completion.tmp
|
||||
|
||||
"${PYTHON}" pip/__init__.py completion --bash > "${COMPLETION}" || die
|
||||
"${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die
|
||||
newbashcomp "${COMPLETION}" ${PN}
|
||||
|
||||
"${PYTHON}" pip/__init__.py completion --zsh > "${COMPLETION}" || die
|
||||
"${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "${COMPLETION}" _pip
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user