From 0818df057cca59a949ffa88947a6b16dec2411ca Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Sat, 9 Apr 2022 14:45:42 +0200 Subject: fix: use `python3` for all `python` invocations (#10832) --- plugins/pyenv/pyenv.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/pyenv') diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index ebb1a708a..7fbd1589e 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -89,7 +89,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then else # Fall back to system python function pyenv_prompt_info() { - local version="$(python -V 2>&1 | cut -d' ' -f2)" + local version="$(python3 -V 2>&1 | cut -d' ' -f2)" echo "system: ${version:gs/%/%%}" } fi -- cgit v1.2.3-70-g09d2