author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 19 Feb 2015 22:59:47 +0200 | |
changeset 726 | 926f9481feee |
child 727 | 42d012e9ede1 |
permissions | -rw-r--r-- |
726 | 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 |