On this page
libtmux.Session.getenv
- Module
- libtmux
- Declared in
- Session
- Package
- libtmux
- Source
- src/libtmux/common.py
-
Inherited from
libtmux.common.EnvironmentMixinShow environment variable
$ tmux show-environment -t [session] <name>.Return the value of a specific variable if the name is specified.
- Parameters
-
-
name ( str ) – the environment variable name. such as 'PATH'.
-
- Returns
-
str Value of environment variable
0 declared, 0 inherited