summaryrefslogtreecommitdiffstats
path: root/python/pip/pip.sh
diff options
context:
space:
mode:
author Audrius Kažukauskas <audrius@neutrino.lt>2011-07-28 17:41:53 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2011-07-28 17:41:53 -0300
commit7ff6c86b7762d78113461bfcb999ac171ecfa0fe (patch)
treeed674ad40b4e5ae0b94f6500cd636487b7bd7c00 /python/pip/pip.sh
parent0c2111095deff91d13c520c23290a4240974e422 (diff)
downloadslackbuilds-7ff6c86b7762d78113461bfcb999ac171ecfa0fe.tar.gz
slackbuilds-7ff6c86b7762d78113461bfcb999ac171ecfa0fe.tar.xz
python/pip: Updated for version 1.0.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'python/pip/pip.sh')
-rw-r--r--python/pip/pip.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/pip/pip.sh b/python/pip/pip.sh
new file mode 100644
index 0000000000..b9b1ea1477
--- /dev/null
+++ b/python/pip/pip.sh
@@ -0,0 +1,9 @@
+# bash completion for pip
+
+_pip_completion()
+{
+ COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
+ COMP_CWORD=$COMP_CWORD \
+ PIP_AUTO_COMPLETE=1 $1 ) )
+}
+complete -o default -F _pip_completion pip