mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-25 18:03:03 +01:00
fix: use python3 for all python invocations (#10832)
This commit is contained in:
1 parent
b3999a4b15
commit
0818df057c
9 files changed
+17
-17
No files matched your search
@@ -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