id = "zed"
name = "Zed"
homepage = "https://zed.dev"
description = "A high-performance, multiplayer code editor from the creators of Atom and Tree-sitter."
icon = "SimpleIcons:zedindustries"
executables = ["zed"]
[dotfiles]
paths = [
"[configHome]/zed/settings.json",
"[configHome]/zed/keymap.json",
"[configHome]/zed/tasks.json",
"[configHome]/zed/themes/",
"[configHome]/zed/snippets/",
]
exclude = [
"~/Library/Application Support/Zed/",
"~/.local/share/zed/",
"%LOCALAPPDATA%/Zed/",
]
secret = []
[commands]
format = 1
label = "Open in Zed"
description = "Open files or folders in Zed. Only options from the completion spec are offered."
quality = "ai-draft"
base = "fig:zed"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/zed.ts"
license = "MIT"
[[commands.field]]
id = "paths"
label = "Paths"
type = "path"
position = 0
multiple = true
path = { kind = "any", role = "input", must_exist = false }
sources = ["fig"]
[[commands.field]]
id = "wait"
label = "Wait until closed"
type = "boolean"
option = ["--wait", "-w"]
sources = ["fig"]
[[commands.field]]
id = "bundle"
label = "Custom Zed.app path"
type = "path"
option = ["--bundle-path", "-b"]
path = { kind = "directory", role = "input", must_exist = true }
sources = ["fig"]
[[commands.task]]
id = "open"
label = "Open paths"
fields = ["paths", "wait"]
required = []
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["paths", "wait"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["bundle"]