]> git.phdru.name Git - dotfiles.git/commitdiff
Add lib/config/python
authorOleg Broytman <phd@phdru.name>
Tue, 26 Jul 2016 08:28:08 +0000 (11:28 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 26 Jul 2016 08:28:08 +0000 (11:28 +0300)
lib/config/python [new file with mode: 0644]

diff --git a/lib/config/python b/lib/config/python
new file mode 100644 (file)
index 0000000..8f64e02
--- /dev/null
@@ -0,0 +1,11 @@
+include git/less
+
+PY_VER=2.7
+export PY_VER
+
+if type -p pip >/dev/null 2>&1; then
+   eval "`pip completion --bash`"
+   rm -rf /tmp/pip_build_"$USER"
+   complete -F _pip_completion pip2 pip2.7 pip3 pip3.4
+fi
+