On this page
session.settings.Session.set_environment
- Module
- session.settings
- Declared in
- Session
- Package
- libtmux
- Source
- crates/libtmux/src/session/settings.rs
-
-
Set an environment variable for processes this session starts.
Existing panes keep the environment they were started with; this affects what new panes inherit.
The value is marked sensitive, since an environment carries tokens.
Errors
Returns an error when tmux rejects the name or value.
Discussed in Environment
0 declared, 0 inherited