pyenv-virtualenv
pyenv-virtualenv copied to clipboard
pyenv-virtualenv should not create shims in rehash hook
AFAICS pyenv itself takes care of everything already, doesn't it?
https://github.com/pyenv/pyenv-virtualenv/blob/master/etc/pyenv.d/rehash/envs.bash
A bit related: https://github.com/pyenv/pyenv-virtualenv/issues/211
@blueyed Is this related to the issue I just wanted to report? (I installed pyenv 30mins ago) and I found out:
- When I create venv
pyenv virtualenv tools - install some tools there (
pip install awscli) - then it creates shims
So when I deactivate venv, bash still can refer to the comands when completing with tab due to path to shims in $PAHT. Which is annoying and undesired behaviour.
Because nothing should reference to commands if they are not supposed to be in path.
@1oglop1 Related, yes. But this is a more general problem with pyenv/rbenv, but https://github.com/pyenv/pyenv/pull/1185 works good for me in this regard.