fix completion

This commit is contained in:
fatalerrors
2026-05-06 18:24:38 +02:00
parent a91c41871a
commit cd0bcfd214

View File

@@ -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