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

session.Session.setEnvironment

TypeScript

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
packages/libtmux/src/session.ts
Other languages
PythonRubyLuaRustGo Java .NET C++ Swift
setEnvironment ( name : : string , value : : string , options : : SetEnvironmentOptions ) → Promise<void>
method [source]
method [source]
setEnvironment

Set a variable in this session's environment.

Examples

await session.setEnvironment("EDITOR", "vim");

Discussed in Environment

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

0 declared, 0 inherited

Esc

Type to search.