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/git-prompt/git-prompt.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/git-prompt/git-prompt.plugin.zsh') 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] -- cgit v1.2.3-70-g09d2