MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / DetectShellTypeAndVersion

Function DetectShellTypeAndVersion

pkg/util/shellutil/shellutil.go:489–492  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

487)
488
489func DetectShellTypeAndVersion() (string, string, error) {
490 shellPath := DetectLocalShellPath()
491 return DetectShellTypeAndVersionFromPath(shellPath)
492}
493
494func DetectShellTypeAndVersionFromPath(shellPath string) (string, string, error) {
495 shellType := GetShellTypeFromShellPath(shellPath)

Callers 1

startupActivityUpdateFunction · 0.92

Calls 2

DetectLocalShellPathFunction · 0.85

Tested by

no test coverage detected