mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 11:38:00 +00:00
Add conda to the list of requirements
If conda is not in the list of requirements, the scripts exit too early in case pyenv is not installed and the module is configured with: zstyle ':prezto:module:python' skip-virtualenvwrapper-init 'on' zstyle ':prezto:module:python' conda-init 'on' Tested on Amazon EC2 Linux for Deeplearning AMI 47.0 and MacOS 11.4
This commit is contained in:
parent
061a7b961c
commit
866d5dfccd
@ -44,7 +44,7 @@ fi
|
|||||||
unset local_pyenv
|
unset local_pyenv
|
||||||
|
|
||||||
# Return if requirements are not found.
|
# Return if requirements are not found.
|
||||||
if (( ! $#commands[(i)python[23]#] && ! $+functions[pyenv] )); then
|
if (( ! $#commands[(i)python[23]#] && ! $+functions[pyenv] && ! $+commands[conda] )); then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user