Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Server.show_environment

Show environment $ tmux show-environment -t [session].

Source and package
Qualified name
libtmux.Server.show_environment
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/common.py
Other languages
PowerShell Julia RubyLuaTypeScriptRustGo Java C# C++ Swift Kotlin Scala F#
show_environment (self) → dict[str, bool | str]

Inherited from libtmux.common.EnvironmentMixin

Description#

Return dict of environment variables for the session.

Returns

dict environmental variables in dict, if no name, or str if name entered.

Discussed in Environment

In other ports Read the server's global environment
Esc

Type to search.

Reference preview Open reference