pub fn automatic() -> PathBuf
The automatic choice, as before the setting was honoured: PowerShell 7 on PATH, else Windows PowerShell, else Command Prompt; elsewhere $SHELL, else /bin/bash.
$SHELL
/bin/bash