MCPcopy Create free account
hub / github.com/dim-an/cod / ResetCommand

Method ResetCommand

shells/shells.go:200–205  ·  view source on GitHub ↗
(executablePath string)

Source from the content-addressed store, hash-verified

198}
199
200func (b *Bash) ResetCommand(executablePath string) (lines []string) {
201 lines = []string{
202 fmt.Sprintf("__cod_clear_completions %v", quoteArg(filepath.Base(executablePath))),
203 }
204 return
205}
206
207func (b *Bash) GetPreamble() (lines []string) {
208 codBinaryVar := fmt.Sprintf("__COD_BINARY=%v", quoteArg(b.codCommandPath))

Callers

nothing calls this directly

Calls 1

quoteArgFunction · 0.85

Tested by

no test coverage detected