Skip to main content

shell_kind_of

Function shell_kind_of 

Source
pub fn shell_kind_of(shell: &str) -> ShellKind
Expand description

Classify a shell selection (zsh, /bin/zsh, pwsh, C:\\...\\pwsh.exe, powershell) by its basename; anything unrecognized is driven as bash.