Files
codex/scripts/install
Eric Traut 640b86dc87 Escape installer PATH entries for shell metacharacters (#62055)
## Why

Installation directories containing shell metacharacters can be interpreted incorrectly in shell profiles and the printed launch command.

## What changed

Escape installation directories in the generated `PATH` export and reuse that export in the current-terminal instructions. Preserve the escape sequences when rewriting an existing profile block by passing the line through the `awk` environment.

## Testing

Add a regression test that installs into directories containing shell metacharacters, verifies `codex` lookup after adding and updating the profile, and executes the printed launch command.

GitOrigin-RevId: b6c6044382128c97dfb503516f5eeaa934c85bbb
2026-11-17 14:38:53 +00:00
..