Server.hide_environment
Hide a variable from processes tmux starts.
Source and package
- Qualified name
-
libtmux::server:: Server:: hide _environment - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server/settings.rs
-
Description#
Different from
Self::unset_environment(), which deletes the server's own entry and lets whatever tmux was started with show through. This keeps an entry and marks it, so a process started afterwards is handed an environment with the name absent even though the tmux server was started with one. It is whatEnvironmentEntry::Removedreports.Errors
Returns an error when tmux rejects the name.
tmux command#
The tmux commands behind hide_environment.
tmux C API#
The C declarations in tmux that implement these commands.