IfShellOptions
How the condition is decided: by running it, or by expanding it.
Source and package
- Qualified name
-
IfShell Options - Module
- types
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts
-
Description#
By default tmux runs it with
/bin/shand 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.