- Make sure
codeexecutable is added to path. If notcmd+shift+pin code and runinstall 'CODE' command in PATH - Open Shortcuts
- Create a new Quick Action
- Set “Receive” to
files or folders - Add a
Run Shell Scriptaction- your default shell should already be selected, otherwise use
/bin/zshfor macOS 10.15 (”Catalina”) or later - older versions of macOS use
/bin/bash
- your default shell should already be selected, otherwise use
- if you're using something else, you probably know what to do 😉