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

Session.show_environment

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

Source and package
Qualified name
libtmux.Session.show_environment
Module
libtmux
Declared in
Session
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 a session's environment
Esc

Type to search.

Reference preview Open reference