Session.unset_environment
Source and package
- unset_environment: fun( self: libtmux
.Session , name: string, options?: libtmux.Environment , ):libtmuxOptions .Request <boolean>
tmux command#
The tmux commands behind unset_environment.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Unset a variable in 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# | no equivalent on Session |
| C++ | no equivalent on Session |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib Pass an explicit session ID. Empty text and zero-like text remain values. |
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.