which-shell 0.1.0

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

fn main() {
    if let Some(sh) = get_shell() {
        println!("{}", sh)
    } else {
        println!("shell is not supported")
    }
}