Session.list_environment
Source and package
- list_environment: fun( self: libtmux
.Session , options?: libtmux.Environment , ):libtmuxList Options .Request <libtmux.Environment []>Record -
- Parameters
tmux command#
The tmux commands behind list_environment.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Read a session's environment
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | session |
| Rust | session |
| Go | tmux |
| Java | no equivalent on Session |
| C# | Lib |
| C++ | no equivalent on Session |
| Swift | Server |
| OCaml | Libtmux Pass Environment.Global for server values or Environment.Session with a bound session target. Acquisition is explicit. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.