Server.remove_environment
Keep the name and take it out of what a new process inherits — tmux's -r, which a listing then prints as -NAME.
Source and package
- Qualified name
-
libtmux::Server:: remove _environment - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<void, CommandFailure > remove_environment(std::string name) const;_view -
Description#
Different from forgetting it: this one is remembered, as an instruction to remove.
- Parameters
tmux command#
The tmux commands behind remove_environment.
tmux C API#
The C declarations in tmux that implement these commands.