Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-rs latest

SetEnvironment

Set a variable in a session's environment.

Source and package
Qualified name
libtmux::plan::ops::options::SetEnvironment
Module
plan.ops.options
Package
libtmux
Source
crates/libtmux/src/plan/ops/options.rs
struct plan.ops.options.SetEnvironment

Description#

Applied before anything runs in the session, so a command started later sees the environment the caller described rather than the one tmux happened to inherit.

Members1#

  • new method Set name in this session's environment.
Esc

Type to search.

Reference previewOpen reference