virtualenvwrapper: look in $HOME/.local/bin directory (#8758)

This commit is contained in:
Hector S 2020-03-22 13:43:58 +01:00 committed by GitHub
parent fe5ec4fe31
commit fe97382bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,8 @@ function {
/usr/share/virtualenvwrapper/virtualenvwrapper{_lazy,}.sh \
/usr/local/bin/virtualenvwrapper{_lazy,}.sh \
/etc/bash_completion.d/virtualenvwrapper \
/usr/share/bash-completion/completions/virtualenvwrapper
/usr/share/bash-completion/completions/virtualenvwrapper \
$HOME/.local/bin/virtualenvwrapper.sh
do
if [[ -f $f ]]; then
source $f