Skip to content

Commit

Permalink
Merge pull request #2161 from rsteube/git-am-dash
Browse files Browse the repository at this point in the history
git: am - dash completion
  • Loading branch information
rsteube authored Jan 9, 2024
2 parents 6af0e7a + e6ae253 commit f63b0b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions completers/git_completer/cmd/am.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
}

0 comments on commit f63b0b8

Please sign in to comment.