Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Server.UnsetEnvironment

UnsetEnvironment deletes a value from the server's global tmux environment. Cancellation does not prove deletion did not occur.

Source and package
Qualified name
tmux.Server.UnsetEnvironment
Package
tmux
Declared in
Server
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
func (s Server) UnsetEnvironment( ctx context.Context, name string, ) error
Parameters

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 the server's environment

Equivalents of Unset a variable in the server's environment in other languages
Language Equivalent
Python libtmux.Server.unset_environment
Ruby LibTmux::Server#unset_environment
Lua libtmux.Server:unset_environment
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.unsetEnvironment
Rust server.Server.unset_environment
Java no equivalent on Server
C# no equivalent on Server
C++ no equivalent on Server
Swift Server.unsetEnvironment(_:in:)
OCaml Libtmux_unix.Client.unset_environment
Perl LibTmux::Server::unset_environment Omit session for the global environment. Missing or explicitly unset values remain failures.

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference