mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-19 11:02:20 +02:00
fix(pyenv)!: do not load if a virtualenv is present
BREAKING CHANGE: `pyenv` will not be loaded at startup anymore if a virtual env if found to avoid overwriting the expected python version. Closes #12589
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# if there is a virtualenv already loaded pyenv should not be loaded
|
||||
# see https://github.com/ohmyzsh/ohmyzsh/issues/12589
|
||||
[[ -n ${VIRTUAL_ENV:-} ]] && return
|
||||
|
||||
pyenv_config_warning() {
|
||||
[[ "$ZSH_PYENV_QUIET" != true ]] || return 0
|
||||
|
||||
|
Reference in New Issue
Block a user