libtmux_mcp.tools.env_tools.set_environment
Python
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Set a tmux environment variable.
Use to set variables that will be inherited by new panes and windows. Changes do not affect already-running processes.
Some variables control later shell execution. Bash sources the file named by
BASH_ENV, POSIX shells may source the file named byENV, and Bash evaluatesPROMPT_COMMANDbefore displaying a prompt.- Parameters
- Returns
-
EnvironmentSetResult Confirmation with variable name, value, and status.