Session.set_environment
Behavior: Environment.
Source and package
- Qualified name
-
LibTmux:: Session# set _environment - Module
- LibTmux
- Declared in
Session- Package
- libtmux
- Source
- gems/libtmux/lib/libtmux/operations.rb
- Other languages
- PowerShell Julia Elixir PythonLuaTypeScriptRustGo Java C# C++ Swift Kotlin Scala F#
-
Description#
Behavior contract: Environment.
tmux command#
The tmux commands behind set_environment.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Set a variable in a session's environment
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| TypeScript | session |
| 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#.