Powershell has existed on Linux and Mac for a while now, but `guess_shelltype` will only give powershell if `$^O` is windows. Powershell can be detected by `exists $ENV{PSModulePath}`.
Powershell has existed on Linux and Mac for a while now, but
guess_shelltypewill only give powershell if$^Ois windows.Powershell can be detected by
exists $ENV{PSModulePath}.