Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Launch zed editor from command line opening specified directory

Tags:

editor

I've tried launched zed per the following:

open -a /Applications/Zed.app -n --args "$PWD"

However zed does not respect the passed $PWD and only loads the prior open folder.

like image 473
cdaringe Avatar asked Jan 30 '26 18:01

cdaringe


1 Answers

alias zed="open -a /Applications/Zed.app -n"

and then

zed . works for me.

like image 171
pms1969 Avatar answered Feb 03 '26 07:02

pms1969