Current File : //proc/2/cwd/opt/alt/python35/lib/python3.5/site-packages/pip/commands/completion.pyc
�
�wMVc@sPddlZddlmZdZidd6dd6Zdefd ��YZdS(
i����N(tCommandsJ
# 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 pip
tbashs�
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 pip
tzshtCompletionCommandcBs2eZdZdZdZeZd�Zd�ZRS(s3A helper command to be used for command completion.t
completions2A helper command to be used for command completioncOsstt|�j||�|jjddddddddd d
�|jjdddddd
ddd d�dS(Ns--bashs-btactiontstore_consttconstRtdesttshellthelpsEmit completion code for bashs--zshs-zRsEmit completion code for zsh(tsuperRt__init__tparsert
add_option(tselftargstkw((sH/opt/alt/python35/lib/python3.5/site-packages/pip/commands/completion.pyR$s cCs�tj�}gt|�D]}d|^q}|j|krptj|jd�}ti|d6|jd6GHntjjddj |��dS(s-Prints the completion code of the given shells--ttscriptR sERROR: You must pass %s
s or N(
tCOMPLETION_SCRIPTStkeystsortedR tgettBASE_COMPLETIONtsyststderrtwritetjoin(RtoptionsRtshellsR t
shell_optionsR((sH/opt/alt/python35/lib/python3.5/site-packages/pip/commands/completion.pytrun3s#( t__name__t
__module__t__doc__tnametsummarytTruethiddenRR (((sH/opt/alt/python35/lib/python3.5/site-packages/pip/commands/completion.pyRs (Rtpip.basecommandRRRR(((sH/opt/alt/python35/lib/python3.5/site-packages/pip/commands/completion.pyt<module>s