editor

Launch zed editor from command line opening specified directory


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.


Solution

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

    and then

    zed . works for me.