KetraTerm
API · v0.3.0All versions

TerminalShellEnvironment

data class TerminalShellEnvironment(val variables: Map<String, String> = emptyMap(), val pathPrefix: String? = null)

Host-selected environment applied at process launch and again after supported interactive shells finish their startup files. This lets a product select a project toolchain even when shell startup files select a different default.

With disabled or unavailable shell integration, only the initial process environment is changed. Values are passed as data, never evaluated as shell code.

Constructors

Link copied to clipboard
constructor(variables: Map<String, String> = emptyMap(), pathPrefix: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

one native directory prepended to PATH, or null for no addition. It is applied after variables, using the shell's path syntax.

Link copied to clipboard

exported shell variables overriding both inherited values and explicit TerminalProfile.environment entries.