Answer: You generate shell completions for the Zed CLI using the `--completions ` option, for example `zed --completions bash` for Bash or `zed --completions zsh` for Zsh. Status: Check failed Entry: tool/zed/commands-and-shortcuts/generate-shell-completions Revision: 1 Digest: sha256:40a888cb3f27411b (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:55Z Last changed: 2026-11-13T04:05:55Z Last verified: 2026-11-18T13:47:58Z Last attempt: 2026-11-19T13:44:26Z (failed) Next check: 2026-11-19T14:44:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of option | --completions | [1] | 2026-11-18 bash usage | eval "$(zed --completions bash)" | [1] | 2026-11-18 fish usage | zed --completions fish | source | [1] | 2026-11-18 zsh usage | eval "$(zed --completions zsh)" | [1] | 2026-11-18 powershell usage | (&zed --completions powershell) | Out-String | Invoke-Expression | [1] | 2026-11-18 Sources: [1] Zed Industries. "zed.dev/docs/reference/cli.md". https://zed.dev/docs/reference/cli.md Role: primary. Accessed: 2026-11-18T13:47:58Z Quote: "### `--completions `" (Supports: option) Quote: "eval "$(zed --completions bash)"" (Supports: bash usage) Quote: "zed --completions fish | source" (Supports: fish usage) Quote: "eval "$(zed --completions zsh)"" (Supports: zsh usage) Quote: "(&zed --completions powershell) | Out-String | Invoke-Expression" (Supports: powershell usage) Snapshot SHA-256: fe01a231ab96da0d5c157d5c93c77b03e72db7e2cc93368b1e71e3dc2cf91d78 (captured 2026-11-13T04:05:53Z) 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:05:55Z, so the values verified then were kept. Cross-check: not-available at 2026-11-18T13:47:58Z. No independent second source is configured for this entry Last successful check: 2026-11-18T13:47:58Z Last attempt: 2026-11-19T13:44:26Z (failed) Notes and limitations: Extracted automatically from a single official source (section "`--completions `"). Human-readable page: https://zed.dev/docs/reference/cli.html Related: https://latestn.com/tool/zed/commands-and-shortcuts/helix-text-object-keys Which text object keys behave differently in Zed's Helix mode? https://latestn.com/tool/zed/commands-and-shortcuts/jsonc-toggle-comments How do I toggle comments in a JSONC file in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/manual-format-html How do I manually format an HTML document in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/essential-commands What are the essential keyboard shortcuts in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/file-finder-shortcut How do I quickly open a file by name in Zed? https://latestn.com/tool/zed/commands-and-shortcuts/find-action-keymap-name How do I find the keymap name for a Zed action so I can bind it in my keymap file? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:44:26Z | check-failed | Extraction did not pass verification: answer contains `zed --completions `, which does not appear in the source | — 2026-11-13T04:05:55Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/commands-and-shortcuts/generate-shell-completions/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/commands-and-shortcuts/generate-shell-completions POST: https://latestn.com/dispute/tool/zed/commands-and-shortcuts/generate-shell-completions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/commands-and-shortcuts/generate-shell-completions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I generate shell completions for the Zed CLI? Revision 1, last verified 2026-11-18T13:47:58Z. https://latestn.com/tool/zed/commands-and-shortcuts/generate-shell-completions (accessed 2026-11-21T10:04:30Z). @misc{LatestN_tool_zed_commands_and_shortcuts_generate_shell_completions_r1, title = {How do I generate shell completions for the Zed CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/commands-and-shortcuts/generate-shell-completions}}, note = {Revision 1; digest sha256:40a888cb3f27411b; last verified 2026-11-18T13:47:58Z; accessed 2026-11-21T10:04:30Z} } 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/commands-and-shortcuts/generate-shell-completions