There was an error while loading. Please reload this page.
1 parent 0a334ff commit 2ba22fdCopy full SHA for 2ba22fd
1 file changed
pkg/actions/bridge/urfavecli.go
@@ -17,6 +17,7 @@ func actionUrfavecliV3(command ...string) carapace.Action {
17
args := append(command[1:], c.Args...)
18
args = append(args, c.Value)
19
args = append(args, "--generate-shell-completion")
20
+ c.Setenv("SHELL", "zsh")
21
return carapace.ActionExecCommand(command[0], args...)(func(output []byte) carapace.Action {
22
lines := strings.Split(string(output), "\n")
23
if len(lines) <= 1 {
@@ -30,7 +31,7 @@ func actionUrfavecliV3(command ...string) carapace.Action {
30
31
}
32
33
return carapace.ActionValuesDescribed(vals...).NoSpace([]rune("/=@:.,")...)
- })
34
+ }).Invoke(c).ToA()
35
})
36
37
0 commit comments