Skip to content

Commit

Permalink
Merge pull request #2162 from rsteube/git-apply-dash
Browse files Browse the repository at this point in the history
git: apply - dash completion
  • Loading branch information
rsteube authored Jan 9, 2024
2 parents f63b0b8 + 2a0f372 commit 66d04fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion completers/git_completer/cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ func init() {
})

carapace.Gen(applyCmd).PositionalAnyCompletion(
carapace.ActionFiles(),
carapace.ActionFiles().FilterArgs(),
)

carapace.Gen(applyCmd).DashAnyCompletion(
carapace.ActionPositional(applyCmd),
)
}

0 comments on commit 66d04fc

Please sign in to comment.