diff --git a/autoenv/autoenv.zsh b/autoenv/autoenv.zsh index 307db98..72fe0aa 100644 --- a/autoenv/autoenv.zsh +++ b/autoenv/autoenv.zsh @@ -98,7 +98,7 @@ commands: fi _autoenv_exit $PWD virtualenv .local - echo 'source .local/bin/activate' >> .enter + echo 'source ${0:a:h}/.local/bin/activate' >> .enter echo 'deactivate' >> .exit _autoenv_authorized $PWD/.enter yes _autoenv_authorized $PWD/.exit yes