Tech
Open Codex app from the macOS Terminal with the Current Project Selected
I wanted a quick way to open Codex app directly from the macOS terminal with the current project folder already selected.
Add the following function to your local Zsh config file, such as ~/.zshrc . It opens a new Codex thread using the current directory as the workspace. You can also pass a directory path as an argument.
This assumes Codex app is installed on macOS. It uses python3 only to URL-encode the local path safely.
# Open Codex app with the current directory as a new t...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to