diff options
author | Carlo Sala <carlosalag@protonmail.com> | 2022-04-09 14:45:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 14:45:42 +0200 |
commit | 0818df057cca59a949ffa88947a6b16dec2411ca (patch) | |
tree | e74e2a141c494fad28b72f0829655f1c448021f1 /plugins/git-prompt/git-prompt.plugin.zsh | |
parent | b3999a4b156185b617a5608317497399f88dc8fe (diff) | |
download | zsh-0818df057cca59a949ffa88947a6b16dec2411ca.tar.gz zsh-0818df057cca59a949ffa88947a6b16dec2411ca.tar.bz2 zsh-0818df057cca59a949ffa88947a6b16dec2411ca.zip |
fix: use `python3` for all `python` invocations (#10832)
Diffstat (limited to 'plugins/git-prompt/git-prompt.plugin.zsh')
-rw-r--r-- | plugins/git-prompt/git-prompt.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/git-prompt/git-prompt.plugin.zsh b/plugins/git-prompt/git-prompt.plugin.zsh index c86c1f59b..0485e317c 100644 --- a/plugins/git-prompt/git-prompt.plugin.zsh +++ b/plugins/git-prompt/git-prompt.plugin.zsh @@ -36,7 +36,7 @@ function update_current_git_vars() { unset __CURRENT_GIT_STATUS local gitstatus="$__GIT_PROMPT_DIR/gitstatus.py" - _GIT_STATUS=$(python ${gitstatus} 2>/dev/null) + _GIT_STATUS=$(python3 ${gitstatus} 2>/dev/null) __CURRENT_GIT_STATUS=("${(@s: :)_GIT_STATUS}") GIT_BRANCH=$__CURRENT_GIT_STATUS[1] GIT_AHEAD=$__CURRENT_GIT_STATUS[2] |