From 5bc8d0db622af6fe43a928801e4439bb3f523774 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 14 Jun 2020 17:09:26 +0200 Subject: [PATCH] add pip completions configuration --- brethil_dotfile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 284f7e0..5eb5f25 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -55,6 +55,10 @@ if [[ $SSH_CLIENT ]]; then export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock fi +# pip completions +if which pip &>/dev/null ; then + eval "$(pip completion --zsh)" +fi alias esource='$EDITOR $HOME/.zshrc' alias resource='source $HOME/.zshrc'