mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Update plugins/pyenv/pyenv.plugin.zsh
This commit is contained in:
parent
30c62ffee2
commit
226f35111e
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
|
|||
|
||||
function pyenv_prompt_info() {
|
||||
local version="$(pyenv version-name)"
|
||||
if [[ "$ZSH_PYENV_NO_SYSTEM" = "true" ]] && [[ "${version}" = "system" ]]; then
|
||||
if [[ "$ZSH_THEME_PYENV_NO_SYSTEM" == "true" ]] && [[ "${version}" == "system" ]]; then
|
||||
return
|
||||
fi
|
||||
echo "${ZSH_THEME_PYENV_PREFIX=}${version:gs/%/%%}${ZSH_THEME_PYENV_SUFFIX=}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue