Answer: To run a oneshot task, open the task modal via task: spawn, type a bash-like command in the modal text field, and use opt-enter to spawn it. For ephemeral tasks, use the cmd modifier when spawning a task via a modal. Status: Overdue (check was due 2026-11-20T13:44:47Z and has not succeeded) Entry: tool/zed/features/oneshot-tasks Revision: 1 Digest: sha256:ba824c3f4b1bb2c5 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:21Z Last changed: 2026-11-13T04:06:21Z Last verified: 2026-11-19T13:44:47Z Next check: 2026-11-20T13:44:47Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of oneshot spawn key | opt-enter | [1] | 2026-11-19 task modal command | task: spawn | [1] | 2026-11-19 ephemeral modifier | cmd | [1] | 2026-11-19 rerun command | task: rerun | [1] | 2026-11-19 adjust selected task key | tab | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/tasks.md". https://zed.dev/docs/tasks.md Role: primary. Accessed: 2026-11-19T13:44:47Z Quote: "type a command inside the modal text field, and use `opt-enter` to spawn it" (Supports: oneshot spawn key) Quote: "The same task modal opened via task: spawn supports arbitrary bash-like command execution" (Supports: task modal command) Quote: "You can use the `cmd` modifier when spawning a task via a modal" (Supports: ephemeral modifier) Quote: "they will not be respawned with task: rerun" (Supports: rerun command) Quote: "You can also adjust the currently selected task in a modal (`tab` is the default key binding)." (Supports: adjust selected task key) Snapshot SHA-256: d7b3f034a1df1c84bd557109a8a1cb15db3108d779a859b1e55eb1a4f6097e15 (captured 2026-11-13T04:06:19Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:06:21Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:44:47Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:44:47Z Last attempt: 2026-11-19T13:44:47Z Notes and limitations: Extracted automatically from a single official source (section "Oneshot tasks"). Human-readable page: https://zed.dev/docs/tasks.html Related: https://latestn.com/tool/zed/features/outline-panel-multibuffers How does the Zed Outline Panel behave with multibuffers like project search results and diagnostics? https://latestn.com/tool/zed/features/parallel-generations-inline-assistant How do I run parallel generations with multiple models in Zed's Inline Assistant? https://latestn.com/tool/zed/features/remote-development-supported-platforms Which platforms does Zed remote development support? https://latestn.com/tool/zed/features/jsonnet-language-server-and-grammar What language server and tree-sitter grammar does Zed use for Jsonnet? https://latestn.com/tool/zed/features/multiple-cursors-multibuffer How do I use multiple cursors to edit multiple files at once in a Zed multibuffer? https://latestn.com/tool/zed/features/navigate-to-source-file How do I navigate from a multibuffer to the original source file in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:06:21Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/features/oneshot-tasks/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/features/oneshot-tasks POST: https://latestn.com/dispute/tool/zed/features/oneshot-tasks with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/features/oneshot-tasks?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run a oneshot or ephemeral task in Zed? Revision 1, last verified 2026-11-19T13:44:47Z. https://latestn.com/tool/zed/features/oneshot-tasks (accessed 2026-11-21T09:54:50Z). @misc{LatestN_tool_zed_features_oneshot_tasks_r1, title = {How do I run a oneshot or ephemeral task in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/features/oneshot-tasks}}, note = {Revision 1; digest sha256:ba824c3f4b1bb2c5; last verified 2026-11-19T13:44:47Z; accessed 2026-11-21T09:54:50Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/features/oneshot-tasks