Open rcarlier opened 3 months ago
It's possible :) Inspired by this
homebrew
)
finderPath=`osascript -e 'tell application "Finder" to get the POSIX path of (target of front window as alias)'`
/opt/homebrew/bin/zed "$finderPath"
Should look like this:
Optional: follow the link above to change icon image
Final result:
https://github.com/user-attachments/assets/ea9fed34-8869-4ae9-82ee-a5f37ed96b32
Thanks @dtonda8!
@rcarlier https://github.com/zed-industries/zed/issues/14388#issuecomment-2226876648 satisfy your use-case?
Yes ! I have installed via download, so the automator line must be:
finderPath=`osascript -e 'tell application "Finder" to get the POSIX path of (target of front window as alias)'`
/Applications/Zed.app/Contents/MacOS/zed "$finderPath"
Many thank's
Check for existing issues
Describe the feature
Maybe it's a setting that I'm unaware of, but I can't configure a shortcut on the finder to open Zed in the current folder (like when you drag&drop on the icon)...
If this is not possible, it would be an interesting feature
If applicable, add mockups / screenshots to help present your vision of the feature