Skip to main content

plan

Function plan 

Source
pub fn plan<S: BuildHasher>(
    shell: &str,
    env: &HashMap<String, String, S>,
) -> ShellPlan
Expand description

Build the command for shell, with the integration its name supports.

env is the seat’s environment; the plan adds only what the integration needs. A shell whose name is not zsh, bash or fish starts with no integration.