ó â\e[c@@sƒddlmZddlZddlZddlmZddlmZdZidd6dd 6d d 6Z d efd „ƒYZ dS(i(tabsolute_importN(tCommand(tget_progsJ # pip %(shell)s completion start%(script)s# pip %(shell)s completion end s _pip_completion() { COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \ COMP_CWORD=$COMP_CWORD \ PIP_AUTO_COMPLETE=1 $1 ) ) } complete -o default -F _pip_completion %(prog)s tbashsB function _pip_completion { local words cword read -Ac words read -cn cword reply=( $( COMP_WORDS="$words[*]" \ COMP_CWORD=$(( cword-1 )) \ PIP_AUTO_COMPLETE=1 $words[1] ) ) } compctl -K _pip_completion %(prog)s tzshsw function __fish_complete_pip set -lx COMP_WORDS (commandline -o) "" set -lx COMP_CWORD ( \ math (contains -i -- (commandline -t) $COMP_WORDS)-1 \ ) set -lx PIP_AUTO_COMPLETE 1 string split \ -- (eval $COMP_WORDS[1]) end complete -fa "(__fish_complete_pip)" -c %(prog)s tfishtCompletionCommandcB@s2eZdZdZdZeZd„Zd„ZRS(s3A helper command to be used for command completion.t completions-A helper command used for command completion.c O@sątt|ƒj||Ž|j}|jddddddddd d ƒ|jd d dddd ddd dƒ|jddddddddd dƒ|jjd|ƒdS(Ns--bashs-btactiont store_consttconstRtdesttshellthelpsEmit completion code for bashs--zshs-zRsEmit completion code for zshs--fishs-fRsEmit completion code for fishi(tsuperRt__init__tcmd_optst add_optiontparsertinsert_option_group(tselftargstkwR((s@/tmp/pip-install-0xiv62/pip/pip/_internal/commands/completion.pyR6s*    cC@sĻtjƒ}gt|ƒD]}d|^q}|j|kr‡tjtj|jdƒitƒd6ƒ}ti|d6|jd6GHnt j j ddj |ƒƒdS( s-Prints the completion code of the given shells--ttprogtscriptR sERROR: You must pass %s s or N( tCOMPLETION_SCRIPTStkeystsortedR ttextwraptdedenttgetRtBASE_COMPLETIONtsyststderrtwritetjoin(RtoptionsRtshellsR t shell_optionsR((s@/tmp/pip-install-0xiv62/pip/pip/_internal/commands/completion.pytrunPs # ( t__name__t __module__t__doc__tnametsummarytTruetignore_require_venvRR((((s@/tmp/pip-install-0xiv62/pip/pip/_internal/commands/completion.pyR0s  ( t __future__RR!Rtpip._internal.basecommandRtpip._internal.utils.miscRR RR(((s@/tmp/pip-install-0xiv62/pip/pip/_internal/commands/completion.pyts