diff --git a/completers/git_completer/cmd/add.go b/completers/git_completer/cmd/add.go index f90a3cc04f..75550be1e8 100644 --- a/completers/git_completer/cmd/add.go +++ b/completers/git_completer/cmd/add.go @@ -45,4 +45,8 @@ func init() { carapace.Gen(addCmd).PositionalAnyCompletion( git.ActionChanges(git.ChangeOpts{Unstaged: true}).FilterArgs(), ) + + carapace.Gen(addCmd).DashAnyCompletion( + carapace.ActionPositional(addCmd), + ) }