Session.UnsetEnvironment
UnsetEnvironment deletes a value from this session's tmux environment, targeted by its stable SessionID.
Source and package
- Qualified name
-
tmux.Session. Unset Environment - Package
- tmux
- Declared in
Session- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/environment.go
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRust Java C# C++ Swift Kotlin Scala OCaml F# Clojure
tmux command#
The tmux commands behind UnsetEnvironment.
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 |
| Lua | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | session |
| Rust | session |
| 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#.