tmuxtmuxC source reference

Choose documentation 1

latest

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_set_environment_exec

Source
Qualified name
cmd_set_environment_exec
Source
cmd-set-environment.c
static enum cmd_retval cmd_set_environment_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command set-environment

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_set_environment_entry, which reference it as a function pointer (a reference, not a call).

Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_set_environment_exec.

Calls

source calls 11

Declarations cmd_set_environment_exec calls directly.

Referenced by

references 1

Declarations that take cmd_set_environment_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 9

Types and data cmd_set_environment_exec names in its declaration.

In libtmux

These methods send set-environment.

Library methods that send tmux set-environment, by scope
Language Methods
Python EnvironmentMixin.remove_environment EnvironmentMixin.set_environment EnvironmentMixin.unset_environment Server.remove_environment Server.set_environment Server.unset_environment Session.remove_environment Session.set_environment Session.unset_environment
Ruby Async::Server#set_environment Async::Server#unset_environment LibTmux::Server#set_environment LibTmux::Server#unset_environment Session#set_environment Session#unset_environment
Lua Server:remove_environment Server:set_environment Server:unset_environment Session:remove_environment Session:set_environment Session:unset_environment
PowerShell Set-TmuxEnvironment
Julia set_environment unset_environment
Haskell markEnvironmentRemoved markEnvironmentRemovedWith setEnvironment setEnvironmentWith unsetEnvironment unsetEnvironmentWith
Common Lisp client.set-environment client.unset-environment
TypeScript Server.setEnvironment Server.unsetEnvironment Session.setEnvironment Session.unsetEnvironment
Rust Plan.run the plan has a set-environment step Plan.run_over_control_mode the plan has a set-environment step Server.set_environment Server.unset_environment Session.set_environment Session.unset_environment
Go Server.SetEnvironment Server.UnsetEnvironment Session.SetEnvironment Session.UnsetEnvironment
Java Environment.set Environment.setExpanded Environment.unset
Clojure set-environment! unset-environment!
Kotlin Environment.`set` Environment.setExpanded Environment.unset
Scala Environment.set Environment.setExpanded Environment.unset
C# TmuxEnvironment.RemoveAsync TmuxEnvironment.SetAsync TmuxEnvironment.UnsetAsync
C++ Server::remove_environment Server::set_environment Server::unset_environment
Swift Server.removeEnvironment(_:in:) Server.setEnvironment(_:to:in:) Server.unsetEnvironment(_:in:)
OCaml remove_environment remove_environment set_environment set_environment unset_environment unset_environment
Perl Async::Server::set_environment Async::Server::unset_environment LibTmux::Server::set_environment LibTmux::Server::unset_environment
Raku Environment.remove Environment.set Environment.unset

No method in Erlang, Elixir, or F# sends this command itself.

Esc

Type to search.

Reference previewOpen reference