Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

Python API

method libtmux stable

Session.remove_environment

Remove environment variable $ tmux set-environment -r <name>.

Source and package
Qualified name
libtmux.Session.remove_environment
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/common.py
Other languages
PowerShell Julia Ruby LuaTypeScript Rust Go Java C# C++ Swift Kotlin Scala F#
remove_environment (self, name: str) → None

Inherited from libtmux.common.EnvironmentMixin

Parameters
  • name (str) # – The environment variable name, e.g. 'PATH'.

Raises
In other ports Mark a session variable so new processes start without it
  • PowerShell
    No source-verified PowerShell equivalent is recorded for this operation.
  • Julia
    No source-verified Julia equivalent is recorded for this operation.
  • Ruby
    No source-verified Ruby equivalent is recorded for this operation.
  • Lua
  • TypeScript
  • Rust
    no equivalent on Session
  • Go
  • Java
    no equivalent on Session
  • C#
    no equivalent on Session
  • C++
    no equivalent on Session
  • Swift
  • Kotlin
    No source-verified Kotlin equivalent is recorded for this operation.
  • Scala
    No source-verified Scala equivalent is recorded for this operation.
  • F#
    No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.

Reference preview Open reference