virtualenv
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 19 Feb 2015 22:59:47 +0200
changeset 726 926f9481feee
parent 725 840b60ed51c7
child 727 42d012e9ede1
virtualenv
.bash_completion.d/virtualenv
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.bash_completion.d/virtualenv	Thu Feb 19 22:59:47 2015 +0200
@@ -0,0 +1,13 @@
+# -*- 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
+