You could create a shell function - e.g. `codex() { OPENAI="xyz" codex "$@" }'. To call the original command use `command codex ...`.
People downvoting legitimate questions on HN should be ashamed of themselves.
People downvoting legitimate questions on HN should be ashamed of themselves.