Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

types.IfShellOptions

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
interface types.IfShellOptions
interface [source]
interface [source]
interface types.IfShellOptions

How the condition is decided: by running it, or by expanding it.

By default tmux runs it with /bin/sh and reads the exit status. Asked to treat it as a format instead, tmux expands it and counts it true when the result is neither empty nor zero — no shell, and no process.

3 declared, 0 inherited

Members

  • format property Treat the condition as a tmux format rather than a shell command.
  • otherwise property Command to run when the condition fails.
  • target property
Esc

Type to search.