The cli does that already with codex on linux