# buildBashEnv

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/benchmark/agent-hardening.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/benchmark/agent-hardening.ts#L56)

Build bash environment with pager-disabling variables.

Pattern from SWE-agent: Disable all interactive pagers and progress bars
to prevent the agent's bash commands from hanging on user input prompts.

Merges with existing env, overriding pager-related vars.

## Signature

```ts
function buildBashEnv(existingEnv: Record<string, string | undefined>): Record<string, string>
```

## Parameters

| Name | Type |
|---|---|
| `existingEnv` | `Record<string, string | undefined>` |

**Returns:** `Record<string, string>`
