From cd0bcfd214b1baacbdfbb919990618ee7f6209c8 Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Wed, 6 May 2026 18:24:38 +0200 Subject: [PATCH] fix completion --- profile.d/bash-completion/git-completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.d/bash-completion/git-completion.sh b/profile.d/bash-completion/git-completion.sh index f2beb8a..ff0477e 100644 --- a/profile.d/bash-completion/git-completion.sh +++ b/profile.d/bash-completion/git-completion.sh @@ -59,7 +59,7 @@ _profile_git_complete_refs() _profile_git_complete_add_paths() { # shellcheck disable=SC2034 # Used indirectly by git-completion helpers via dynamic scope. - local cur words cword prev + local cur words cword prev __git_cmd_idx=0 local complete_opt="--others --modified --directory --no-empty-directory" if declare -F __git_complete_index_file >/dev/null 2>&1; then