DEV Community

Open Codex Desktop from the macOS Terminal with the Current Project Selected (opens in new tab)

Discussed on DEV

I wanted a quick way to open Codex Desktop 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 Desktop is installed on macOS. It uses python3 only to URL-encode the local path safely. # Open Codex Desktop with the current directory as a new threa...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help