Core LibraryAPI Reference

Choose documentation 2

latest

Current version

latest
English

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

cmdlet libtmux-powershell latest

LibTmux.Remove-TmuxOption

LibTmux\Remove-TmuxOption LibTmux\Remove-TmuxOption

Unset an option so its inherited value applies.

Source and package
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/RemoveTmuxOptionCommand.cs

Description#

Remove a local option override or indexed array entry. A built-in option then uses its inherited value; a removed user option is absent. UnsetPaneOverrides also removes pane overrides through tmux -U. WhatIf performs no tmux I/O.

Notes

Reads contact tmux explicitly. Empty owner pipelines perform no I/O. Errors retain the original core exception and native owner as their target. ErrorAction Continue permits later owners; Stop terminates the pipeline. Cancellation stops the operation but cannot undo a dispatched mutation. Set readback is an observation, not a transaction with other clients.

Command details#

Command type
cmdlet
Default parameter set
Server
Confirmation
Supports -WhatIf and -Confirm ; confirm impact: Medium.
Positional binding
Enabled.
Pipeline inputs
LibTmux.Server : A native server owner.; LibTmux.Session : A native session owner.; LibTmux.Window : A native window owner.; LibTmux.Pane : A native pane owner.
Outputs
System.Void

Examples#

Example 1 Remove a previously stored @scratch option from a native $session . View source

Terminal window
$session | LibTmux\Remove-TmuxOption -Name '@scratch'
Parameters
Common parameters 12

PowerShell supplies these parameters. See common parameter behavior for their effects.

Returns

None: No success output.

Esc

Type to search.

Reference preview Open reference