summaryrefslogtreecommitdiff
path: root/plugins/pyenv/pyenv.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pyenv/pyenv.plugin.zsh')
-rw-r--r--plugins/pyenv/pyenv.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
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