which-shell 0.1.5

which-shell
Documentation
1
2
3
4
5
6
7
8
9
use which_shell::which_shell;

fn main() {
    if let Some(sh) = which_shell() {
        println!("{sh:?}")
    } else {
        println!("shell is not supported")
    }
}