Session.unsetEnvironment
Drop a variable from this session's environment entirely.
Source and package
-
Examples#
await session.unsetEnvironment("EDITOR");
tmux command#
The tmux commands behind unsetEnvironment.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss unsetEnvironment.
In other ports#
Unset a variable in a session's environment
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Rust | session |
| Go | tmux |
| Java | no equivalent on Session |
| C# | no equivalent on Session |
| C++ | no equivalent on Session |
| Swift | Server |
No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.