Workspace ManagerAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

LibTmuxWorkspace.expand

Methods#

Expand only the supplied environment ($NAME and ${NAME}) and home directory. Absent variables remain literal by default; :error rejects them. Directories resolve lexically against their parent, starting at the supplied absolute base or the config file's directory. There is no implicit ENV , cwd, home lookup, filesystem traversal, shell expansion or command execution.

expand(config; env=Dict(), home=nothing, base_directory=nothing,
unknown_variables=:preserve, limits=ConfigLimits()) -> ExpandedWorkspace

Before commands run in session, window, pane order before each pane's commands. A pane environment map replaces window overrides, while retaining session values, as in tmuxp. Commands stay inert, including before_script.

Parameters
Esc

Type to search.

Reference preview Open reference