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

Go API

Go documentation

tmux.Session.SetEnvironment

Go

View as Markdown

Module
tmux
Declared in
Session
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
Other languages
PythonRubyLuaTypeScriptRust Java .NET C++ Swift
SetEnvironment ( ctx : context.Context , name : string , value : string , options : SetEnvironmentOptions ) → error
method [source]
method [source]
SetEnvironment

SetEnvironment stores a value in this session's tmux environment, targeted by its stable SessionID.

In other ports Set a variable in a session's environment

0 declared, 0 inherited

Esc

Type to search.