()
| 388 | } |
| 389 | |
| 390 | func getShell() string { |
| 391 | if runtime.GOOS == "darwin" { |
| 392 | return shellutil.GetMacUserShell() |
| 393 | } |
| 394 | shell := os.Getenv("SHELL") |
| 395 | if shell == "" { |
| 396 | return "/bin/bash" |
| 397 | } |
| 398 | return strings.TrimSpace(shell) |
| 399 | } |
| 400 | |
| 401 | func GetInfo() wshrpc.RemoteInfo { |
| 402 | return wshrpc.RemoteInfo{ |
no test coverage detected