]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: install pip completion
authorOleg Broytman <phd@phdru.name>
Thu, 2 Jun 2016 22:47:56 +0000 (01:47 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 3 Jun 2016 13:14:59 +0000 (16:14 +0300)
.shellrc

index 7c0748000784c407bc3f4b020209100341caa8e1..e70784befeca0d18c725eba23c2561417815cd70 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -81,6 +81,8 @@ case "$SHELL" in
       complete -W "`cd \"$HOME/lib/config\" && echo *`" include
    fi
    complete -W "`echo $BROWSER | sed 's/:/ /g'`" start-browser
+
+   which pip >/dev/null 2>&1 && eval "`pip completion --bash`"
    ;;
 
 */ksh)