Alfred workflow that allows you to open projects with zed
You can download workflow file, or compile your own program.
- Rust (latest stable version)
- jq (you can remove extensions lookup function if you don't want to install this)
- zed
-
Clone the repository:
git clone https://github.com/crwen/alfred-zed-projects.git cd alfred-zed-projects -
Run the build script:
./build-workflow.sh
-
Install the generated
alfred-zed-projects.alfredworkflowfile by double-clicking it.
-
Clone the repository:
git clone https://github.com/crwen/alfred-zed-projects.git cd alfred-zed-projects -
Build the project:
cargo build --release
-
Copy the binary to the workflow directory:
cp target/release/alfred-zed workflow/alfred-zed
-
Install the workflow by double-clicking the
workflowfolder or importing it into Alfred.
zf: Search file and Open with Zed.zr: Open recent projects. Data is provided by Zed sqlite file.zd: Open project directories from configured folders. Configure directories in Alfred's workflow settings.ze: Lookup extensions, nothing else. So you can remove it by yourself.
- Open Alfred Preferences
- Navigate to Workflows → Zed
- Click the
[x]button in the top-right corner to open workflow configuration - Set Projects Directories with your project folders (one per line), e.g.:
~/Projects/github.com/myorg ~/Projects/github.com/other-org ~/Work/clients