Ńň
čRc           @   sP   d  d k  Z  d  d k l Z d Z h d d 6d d 6Z d e f d	     YZ d S(
   i˙˙˙˙N(   t   CommandsJ   
# 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
t   bashsń   
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
t   zsht   CompletionCommandc           B   s2   e  Z d  Z d Z d Z e Z d   Z d   Z RS(   s3   A helper command to be used for command completion.t
   completions2   A helper command to be used for command completionc         O   ss   t  t |   i | |   |  i i d d d d d d d d d	 d
 |  i i d d d d d d d d d	 d d  S(   Ns   --bashs   -bt   actiont   store_constt   constR   t   destt   shellt   helps   Emit completion code for bashs   --zshs   -zR   s   Emit completion code for zsh(   t   superR   t   __init__t   parsert
   add_option(   t   selft   argst   kw(    (    sS   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/completion.pyR   $   s    				c         C   s   t  i   } g  } t |  D] } | d | q ~ } | i | j o3 t  i | i d  } t h | d 6| i d 6GHn t i i d d i	 |   d S(   s-   Prints the completion code of the given shells   --t    t   scriptR	   s   ERROR: You must pass %s
s    or N(
   t   COMPLETION_SCRIPTSt   keyst   sortedR	   t   gett   BASE_COMPLETIONt   syst   stderrt   writet   join(   R   t   optionsR   t   shellst   _[1]R	   t   shell_optionsR   (    (    sS   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/completion.pyt   run3   s    +(	   t   __name__t
   __module__t   __doc__t   namet   summaryt   Truet   hiddenR   R!   (    (    (    sS   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/completion.pyR      s   	(   R   t   pip.basecommandR    R   R   R   (    (    (    sS   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/completion.pyt   <module>   s   	

