Skip to content

Commit c48a0f0

Browse files
authored
Merge pull request #3061 from carapace-sh/jj-operation
jj: operation completion
2 parents d5757db + a3da033 commit c48a0f0

File tree

1 file changed

+2
-1
lines changed
  • completers/common/jj_completer/cmd

1 file changed

+2
-1
lines changed

completers/common/jj_completer/cmd/root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package cmd
22

33
import (
44
"github.com/carapace-sh/carapace"
5+
"github.com/carapace-sh/carapace-bin/pkg/actions/tools/jj"
56
"github.com/carapace-sh/carapace/pkg/style"
67
"github.com/carapace-sh/carapace/pkg/traverse"
78
"github.com/spf13/cobra"
@@ -38,7 +39,7 @@ func init() {
3839
rootCmd.MarkFlagsMutuallyExclusive("quiet", "verbose")
3940

4041
carapace.Gen(rootCmd).FlagCompletion(carapace.ActionMap{
41-
"at-operation": carapace.ActionValues(), // TODO
42+
"at-operation": jj.ActionOperations(100),
4243
"color": carapace.ActionValues("always", "never", "auto").StyleF(style.ForKeyword),
4344
"config-file": carapace.ActionFiles(),
4445
"repository": carapace.ActionDirectories(),

0 commit comments

Comments
 (0)