Skip to content
 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfred-zed-projects

Alfred workflow that allows you to open projects with zed

Prerequisties

  • jq (you can remove extensions lookup function if you don't want to install this)
  • zed

Installation

You can download workflow file, or compile your own program.

Building from Source

Prerequisites for Building

  • Rust (latest stable version)
  • jq (you can remove extensions lookup function if you don't want to install this)
  • zed

Build Instructions

Quick Build (Recommended)

  1. Clone the repository:

    git clone https://github.com/crwen/alfred-zed-projects.git
    cd alfred-zed-projects
  2. Run the build script:

    ./build-workflow.sh
  3. Install the generated alfred-zed-projects.alfredworkflow file by double-clicking it.

Manual Build

  1. Clone the repository:

    git clone https://github.com/crwen/alfred-zed-projects.git
    cd alfred-zed-projects
  2. Build the project:

    cargo build --release
  3. Copy the binary to the workflow directory:

    cp target/release/alfred-zed workflow/alfred-zed
  4. Install the workflow by double-clicking the workflow folder or importing it into Alfred.

Usage

  • 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.

Configuration

Projects Directories (for zd command)

  1. Open Alfred Preferences
  2. Navigate to Workflows → Zed
  3. Click the [x] button in the top-right corner to open workflow configuration
  4. Set Projects Directories with your project folders (one per line), e.g.:
    ~/Projects/github.com/myorg
    ~/Projects/github.com/other-org
    ~/Work/clients
    

About

A Alfred workflow to open with zed.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages