Session.showEnvironment
Every variable in this session's 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 session.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 a session's environment
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | session |
| Go | tmux |
| Java | no equivalent on Session |
| C# | Lib |
| C++ | no equivalent on Session |
| Swift | Server |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.