Repository navigation
Replies: 1 comment
|
They can, but not through the registration in
complete -o nospace -o default -o bashdefault -F _python_argcomplete pipxSo when you type The module itself is fine. $ _ARGCOMPLETE=1 _ARGCOMPLETE_IFS=$'\n' _ARGCOMPLETE_SHELL=bash \
COMP_LINE="pipx ins" COMP_POINT=8 COMP_TYPE=9 \
python -m pipx 8>&1 1>/dev/null
install
install-allSo all that is missing is a first word the shell can key on. A function is enough: pipx() { python -m pipx "$@"; }
eval "$(register-python-argcomplete pipx)"Tested — with that in place, One thing to avoid: compdef _python_argcomplete_/usr/bin/python_SPACE_-m_SPACE_pipx pipxand a Verified against argcomplete's generated script and by running the protocol above rather than from memory; Claude helped me dig through |
Uh oh!
There was an error while loading. Please reload this page.
They don't but I hoped they would.
All reactions