Skip to main content

host_shell_name

Function host_shell_name 

Source
pub fn host_shell_name() -> &'static str
Expand description

Returns the short name of the active host shell ("bash" on Unix; "pwsh", "powershell", "bash", or "cmd.exe" on Windows).