Server.showEnvironment
Every variable in the server's global environment.
Source and package
- showEnvironment(): Promise< Readonly
Map <string, EnvironmentValue > > -
Description#
A
nullvalue is tmux's-NAME: present, and marked for removal from any process tmux starts.Examples#
const environment = await server.showEnvironment();environment.get("EDITOR");
tmux command#
The tmux commands behind showEnvironment.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss showEnvironment.
In other ports#
Read the server's global environment
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | server |
| Go | tmux |
| Java | no equivalent on Server |
| C# | Lib |
| C++ | no equivalent on Server |
| Swift | Server |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.