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 macospull/29705/head^2
parent
5058f31908
commit
39d2517d3d
3 changed files with 17 additions and 7 deletions
Loading…
Reference in new issue