akhayyat/dotfiles
zsh: update virtualenvwrapper path to new location
Commit 6fa53b060311 · Ahmad Khayyat · 2019-11-10 21:52 +0300
Comments
No comments yet.
Diff
diff --git a/zsh/programs.zsh b/zsh/programs.zsh
--- a/zsh/programs.zsh
+++ b/zsh/programs.zsh
@@ -29,8 +29,6 @@
# virtualenvwrapper
export VIRTUAL_ENV_DISABLE_PROMPT=1
-if [ -r /etc/bash_completion.d/virtualenvwrapper ]; then
- source /etc/bash_completion.d/virtualenvwrapper
fi
# pip
@@ -46,6 +44,8 @@
if [ -x $HOME/local/software/grails/bin/grails ]; then
export GRAILS_HOME=$HOME/local/software/grails
export PATH=$PATH:$GRAILS_HOME/bin
+if [ -r /usr/share/bash-completion/completions/virtualenvwrapper ]; then
+ source /usr/share/bash-completion/completions/virtualenvwrapper
fi
# Emacs