.bash_completion.d/virtualenv
changeset 726 926f9481feee
child 727 42d012e9ede1
equal deleted inserted replaced
725:840b60ed51c7 726:926f9481feee
       
     1 # -*- mode: sh; sh-shell-file: bash -*-
       
     2 
       
     3 _virtualenv()
       
     4 {
       
     5    local _opts="--version -h --help -v --verbose -q --quiet --clear --system-site-packages \
       
     6      --always-copy --unzip-setuptools --relocatable --no-setuptools --no-pip --extra-search-dir= --prompt= --python="
       
     7    local cur
       
     8    cur=${COMP_WORDS[COMP_CWORD]}
       
     9    COMPREPLY=( $(compgen -W '$_opts'  -- $cur) )
       
    10    return 0
       
    11 } &&
       
    12 complete -F _virtualenv virtualenv
       
    13