LibTmux.Workspace.WorkspacePane.WithDefaults
- LibTmux.Workspace.WorkspacePane.WithDefaults ( environment : IRead
Only <string, string>? , shellCommandsBefore : IReadDictionary Only <string>? , beforeCommands : IReadList Only <WorkspaceList Command >? ) WorkspacePane -
Returns a declaration with replacement environment and pre-command defaults.
- Parameters
-
-
environment ( IRead
Only <string, string>? ) – The local entries to copy, or null to preserve the existing entries.Dictionary -
shellCommandsBefore ( IRead
Only <string>? ) – The local commands to copy, or null to preserve the existing commands.List -
beforeCommands ( IRead
Only <WorkspaceList Command >? ) – Typed local commands; use instead ofshellCommandsBefore.
-
- Returns
-
A new declaration; empty collections clear the corresponding defaults.
- Raises
-
-
Argument
Exception – An environment name is empty or contains '=' or NUL, or a value contains NUL.
-