pub type If<'a> = IfShell<'a>;

Aliased Type§

struct If<'a> {
    pub background: bool,
    pub not_execute: bool,
    pub target_pane: Option<Cow<'a, str>>,
    pub shell_command: Option<Cow<'a, str>>,
    pub command: Option<Cow<'a, str>>,
}

Fields§

§background: bool

[-b] - run in the background

§not_execute: bool

[-F] not execute but considered success if neither empty nor zero

§target_pane: Option<Cow<'a, str>>

[-t target-pane] specify the target-pane

§shell_command: Option<Cow<'a, str>>

[shell-command]

§command: Option<Cow<'a, str>>

[command] - specify the second command