pub trait ShellHandling {
    fn get_shell(&self) -> Option<Shell>;
}
Expand description

A helper trait for delegating shell handling

If you don’t use declare_default_environment! but still want to use the shell helpers provided here, you need to implement this trait for your declare_environment!-generated type, by delegating it to one of the handlers you provided for the different shells.

Required methods

Get the best available shell

Implementors