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 latest

EnvironmentMixin.show_environment

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

Source and package
Qualified name
libtmux.common.EnvironmentMixin.show_environment
Module
libtmux.common
Declared in
EnvironmentMixin
Package
libtmux
Source
src/libtmux/common.py
show_environment (self) → dict[str, bool | str]

Description#

Return dict of environment variables for the session.

Returns

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

tmux command#

The tmux commands behind show_environment.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference