libtmux Reference MCP Search
On this page

server.Server.showEnvironment

View as Markdown

Module
server
Declared in
Server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
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

0 declared, 0 inherited

Esc

Type to search.