mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Update plugins/pyenv/pyenv.plugin.zsh
This commit is contained in:
parent
226f35111e
commit
2da920e8eb
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
|
||||||
else
|
else
|
||||||
# Fall back to system python
|
# Fall back to system python
|
||||||
function pyenv_prompt_info() {
|
function pyenv_prompt_info() {
|
||||||
if [[ "$ZSH_PYENV_NO_SYSTEM" = "true" ]]; then
|
if [[ "$ZSH_THEME_PYENV_NO_SYSTEM" == "true" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
local version="$(python3 -V 2>&1 | cut -d' ' -f2)"
|
local version="$(python3 -V 2>&1 | cut -d' ' -f2)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue