Source File
patch.go
Belonging Package
github.com/carapace-sh/carapace/internal/shell/cmd_clink
package cmd_clinkimport (shlex)func ( []string) ([]string, error) {, := os.LookupEnv("CARAPACE_COMPLINE")if ! {return , nil}os.Unsetenv("CARAPACE_COMPLINE")if == "" {return , nil}, := shlex.Split()if != nil {return nil,}= append([:1], .CurrentPipeline().FilterRedirects().Words().Strings()...)return , nil}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |