Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
func
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
completionCommand
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected