- 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
-
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
- Python
libtmux.Server.source_file - Ruby
LibTmux::Server#source_file - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.sourceFile - Rust
server.Server.source_file - Java
io.github.libtmux.Server.Server.sourceFile - .NET
LibTmux.Server.SourceFileAsync - C++
libtmux::Server::source_file - Swift
Server.sourceFile(_:)
- Python
0 declared, 0 inherited