Shell Detection
On Windows: PowerShell 5.1 and 7, cmd.exe, Git Bash,
every WSL distribution. On Linux: your login shell, then everything
declared in /etc/shells. Nothing is assumed, everything is scanned on the
real machine at every launch.