Fix autoenv add=py
.enter when run in subdirectory
This commit is contained in:
parent
a362ab0e04
commit
74f2dd7dae
@ -98,7 +98,7 @@ commands:
|
|||||||
fi
|
fi
|
||||||
_autoenv_exit $PWD
|
_autoenv_exit $PWD
|
||||||
virtualenv .local
|
virtualenv .local
|
||||||
echo 'source .local/bin/activate' >> .enter
|
echo 'source ${0:a:h}/.local/bin/activate' >> .enter
|
||||||
echo 'deactivate' >> .exit
|
echo 'deactivate' >> .exit
|
||||||
_autoenv_authorized $PWD/.enter yes
|
_autoenv_authorized $PWD/.enter yes
|
||||||
_autoenv_authorized $PWD/.exit yes
|
_autoenv_authorized $PWD/.exit yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user