.bash_completion.d/virtualenv
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 19 Feb 2015 22:59:47 +0200
changeset 726 926f9481feee
child 727 42d012e9ede1
permissions -rw-r--r--
virtualenv

# -*- mode: sh; sh-shell-file: bash -*-

_virtualenv()
{
   local _opts="--version -h --help -v --verbose -q --quiet --clear --system-site-packages \
     --always-copy --unzip-setuptools --relocatable --no-setuptools --no-pip --extra-search-dir= --prompt= --python="
   local cur
   cur=${COMP_WORDS[COMP_CWORD]}
   COMPREPLY=( $(compgen -W '$_opts'  -- $cur) )
   return 0
} &&
complete -F _virtualenv virtualenv