Struct tmux_interface::commands::miscellaneous::if_shell::IfShell [−][src]
pub struct IfShell<'a>(pub TmuxCommand<'a>);
Expand description
Structure for conditional commands executing
Manual
tmux ^2.0:
tmux if-shell [-bF] [-t target-pane] shell-command command [command] (alias: if)
tmux ^1.8:
tmux if-shell [-b] [-t target-pane] shell-command command [command] (alias: if)
tmux ^1.6:
tmux if-shell shell-command command [command] (alias: if)
tmux ^0.8:
tmux if-shell shell-command command (alias: if)
Tuple Fields
0: TmuxCommand<'a>
Implementations
[-F]
not execute but considered success if neither empty nor zero
[-t target-pane]
specify the target-pane
[shell-command]
[command]
- specify the second command
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for IfShell<'a>
impl<'a> UnwindSafe for IfShell<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more