Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

session.Session.removeEnvironment

TypeScript

View as Markdown

Module
session
Declared in
Session
Package
libtmux
Source
packages/libtmux/src/session.ts
Other languages
Python Ruby Lua Rust Go Java .NET C++ Swift
removeEnvironment ( name : : string ) → Promise<void>
method [source]
method [source]
removeEnvironment

Mark a variable in this session's environment for removal from the environment of processes tmux starts, leaving the entry in place.

Examples

await session.removeEnvironment("EDITOR");
In other ports Mark a session variable so new processes start without it

0 declared, 0 inherited

Esc

Type to search.