feat(pyenv): silence bad config warning with ZSH_PYENV_QUIET=true

This commit is contained in:
Marc Cornellà committed 2021-09-03 12:54:45 +02:00
1 parent c08fb77c2f
commit 823be4ef5f
2 files changed
+8 -1

No files matched your search

+2
View File
@@ -1,4 +1,6 @@
pyenv_config_warning() {
[[ "$ZSH_PYENV_QUIET" != true ]] || return 0
local reason="$1"
local pyenv_root="${PYENV_ROOT/#$HOME/\$HOME}"
cat >&2 <<EOF