DetectUnixShell returns the user's shell from the SHELL environment variable, falling back to /bin/sh.
()
| 61 | // DetectUnixShell returns the user's shell from the SHELL environment variable, |
| 62 | // falling back to /bin/sh. |
| 63 | func DetectUnixShell() string { |
| 64 | return defaultUnixShell() |
| 65 | } |
| 66 | |
| 67 | // defaultUnixShell returns the user's shell from SHELL or /bin/sh. |
| 68 | func defaultUnixShell() string { |
no test coverage detected