MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / normalizeShell

Function normalizeShell

internal/cli/completion.go:44–52  ·  view source on GitHub ↗
(shell string)

Source from the content-addressed store, hash-verified

42}
43
44func normalizeShell(shell string) string {
45 switch shell {
46 case "bash", "zsh", "fish", "powershell":
47 return shell
48 case "pwsh":
49 return "powershell"
50 }
51 return ""
52}

Callers 1

completionCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected