mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
fix: use python3 for all python invocations (#10832)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user