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

server.Server.showEnvironment

TypeScript

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
Other languages
PythonRubyLuaRustGo Java .NET C++ Swift
showEnvironment ( ) → Promise<ReadonlyMap<string, EnvironmentValue>>
method [source]
method [source]
showEnvironment

Every variable in the server's global environment.

A null value is tmux's -NAME: present, and marked for removal from any process tmux starts.

Examples

const environment = await server.showEnvironment();
environment.get("EDITOR");

Discussed in Environment

In other ports Read the server's global environment

0 declared, 0 inherited

Esc

Type to search.