diff --git a/completers/git_completer/cmd/am.go b/completers/git_completer/cmd/am.go index c883a57b3d..857ad372d4 100644 --- a/completers/git_completer/cmd/am.go +++ b/completers/git_completer/cmd/am.go @@ -69,4 +69,12 @@ func init() { "show-current-patch": carapace.ActionValues("diff", "raw"), "whitespace": git.ActionWhitespaceModes(), }) + + carapace.Gen(amCmd).PositionalAnyCompletion( + carapace.ActionFiles(), + ) + + carapace.Gen(amCmd).DashAnyCompletion( + carapace.ActionPositional(amCmd), + ) }