Answer: Append the completion script to your shell config by running `origin completion >> ~/.zshrc`. Branch-valued flags such as `--head` and `--base` then complete local branch names. Status: Confirmed Entry: tool/cursor/settings/origin-cli-shell-completion Revision: 1 Digest: sha256:54b4f285515c8dea (changes whenever the content changes) Timeline: Created: 2026-11-13T03:11:46Z Last changed: 2026-11-13T03:11:46Z Last verified: 2026-11-20T12:40:05Z Next check: 2026-11-21T12:40:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of completion command | origin completion >> ~/.zshrc | [1] | 2026-11-20 flags that complete branch names | --head | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/origin/cli/reference/commands.md". https://cursor.com/docs/origin/cli/reference/commands.md Role: primary. Accessed: 2026-11-20T12:40:06Z Quote: "origin completion >> ~/.zshrc" (Supports: completion command) Quote: "Branch-valued flags such as `--head` and `--base` then complete local branch names." (Supports: flags that complete branch names) Snapshot SHA-256: fd0a72c114252d8c068669b1277ab9613f94d658778cc902b354decf61433eab (captured 2026-11-19T12:34:39Z) 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-19T12:34:40Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:40:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:40:05Z Last attempt: 2026-11-20T12:40:05Z Notes and limitations: Extracted automatically from a single official source (section "Shell completion"). Related: https://latestn.com/tool/cursor/settings/plan-mode-save-location Where are Cursor Plan Mode plans saved by default? https://latestn.com/tool/cursor/settings/repo-settings-tabs Which settings tabs appear for team-owned versus personal Cursor Origin repositories? https://latestn.com/tool/cursor/settings/rollouts-settings How do I change which changes Cursor Rollouts monitors or its notifications? https://latestn.com/tool/cursor/settings/manage-installed-plugins How do I manage or update installed plugins in Cursor? https://latestn.com/tool/cursor/settings/open-customize-page How do I open the Customize page in Cursor to manage plugins, skills, and MCPs? https://latestn.com/tool/cursor/settings/origin-cli-environment-variables Which environment variables does the Cursor Origin CLI use for endpoint and credentials? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:11:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/settings/origin-cli-shell-completion/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/cursor/settings/origin-cli-shell-completion POST: https://latestn.com/dispute/tool/cursor/settings/origin-cli-shell-completion with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/settings/origin-cli-shell-completion?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set up shell completion for the Cursor Origin CLI? Revision 1, last verified 2026-11-20T12:40:05Z. https://latestn.com/tool/cursor/settings/origin-cli-shell-completion (accessed 2026-11-21T09:50:40Z). @misc{LatestN_tool_cursor_settings_origin_cli_shell_completion_r1, title = {How do I set up shell completion for the Cursor Origin CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/settings/origin-cli-shell-completion}}, note = {Revision 1; digest sha256:54b4f285515c8dea; last verified 2026-11-20T12:40:05Z; accessed 2026-11-21T09:50:40Z} } 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/cursor/settings/origin-cli-shell-completion