macOS: generate .pyenvrc during setup (#29698)
* Create .pyenvrc if it does not exist
* Replace source zshrc with pyenvrc
* Remove unnecessary variables if pyenv wasn't installed
* Add check fo PYENV_SHELL
* source instead of eval
* printf instead of echo
* leave previous pyenvrc path to source
* Add newline
* Change shebang
* Dont source the file after setup
* eval virtualenv-init too
* modify comment
* Just unset broken function on macos
old-commit-hash: 39d2517d3d
beeps
parent
de996d76bb
commit
41fd8b51e7
3 changed files with 17 additions and 7 deletions
Loading…
Reference in new issue