Skip to content

RFE: special rule for the Zed code editor? #11

Description

@plaimbock

I've been trying to add a special rule for Zed https://github.com/zed-industries/zed but can't make it work properly. It does not automatically sign into github via the browser (Firefox) when started and does not activate Claude. When starting Zed in a normal env this all works. Any suggestions how to make this work would be most appreciated. Thanks!

 zed:
    - A special rule for running the Zed code editor
    - dbus: { allow: own, path: dev.zed.zed.* }
    - dbus: { allow: talk, path: org.freedesktop.portal.Secrets }
    - dbus: { allow: talk, path: org.mozilla.firefox.* }
    - bind: { path: $HOME/.config/zed, try: true, read-write: true }
    - bind: { path: $HOME/.local/share/zed, try: true, read-write: true }
    - bind: { path: $HOME/.fonts, try: true }
    - bind: { path: $HOME/.config/github-copilot, try: true, read-write: true }
    - bind: { path: $HOME/.cache/claude-cli-nodejs, try: true, read-write: true }
    - bind: { path: $HOME/.claude/.credentials.json, try: true, read-write: true }
    - bind: { path: $HOME/.claude.json, try: true, read-write: true }
    - env: { PS1: '\h \w \$ ' }
    - bind: { path: $HOME/Dev, read-write: true }
    - chdir: $HOME/Dev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions