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

Go API

Go documentation

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_exec.go
Other languages
PythonRuby Lua TypeScriptRustJava.NETC++Swift
SourceFile ( ctx : context.Context , request : SourceFileRequest ) → error
method [source]
method [source]
SourceFile

SourceFile loads or parses one tmux configuration file. The path expands ~ and ~/... for the current user and normalizes redundant separators and dot components without collapsing parent components. Named-user forms are rejected. Exact "-" is rejected because it requires process stdin; a relative path naming a file called "-" remains file data. It can mutate tmux configuration; completed stderr is an error, and cancellation does not prove that parsing or sourcing did not occur.

In other ports Load a tmux configuration file

0 declared, 0 inherited

Esc

Type to search.