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