Skip to main content

shell_wslenv

Function shell_wslenv 

Source
fn shell_wslenv(
    existing: &str,
    caller_keys: &[String],
    env: &HashMap<String, String>,
) -> String
Expand description

WSLENV for a Shell command in a distro: the caller’s own variables and the reserved identity reserve_agent_env set, so the command names the agent there as it would on Windows (wsl::AGENT_IDENTITY_ENV).