MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getClaudeTmuxEnv

Function getClaudeTmuxEnv

src/utils/tmuxSocket.ts:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 * When null, Shell.ts does not override TMUX, preserving user's environment.
134 */
135export function getClaudeTmuxEnv(): string | null {
136 if (!socketPath || serverPid === null) {
137 return null
138 }
139 return `${socketPath},${serverPid},0`
140}
141
142/**
143 * Checks if tmux is available on this system.

Callers 1

getEnvironmentOverridesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected