openclaw - 💡(How to fix) Fix [Bug]: openclaw completion -s zsh hangs on native Windows (no WSL) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#84213Fetched 2026-05-20 03:42:38
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
1
Timeline (top)
labeled ×6commented ×1

Running openclaw completion -s zsh (or openclaw completion --write-state) on native Windows hangs indefinitely and must be killed with SIGKILL. This prevents automatic generation of shell completion cache files.

Root Cause

Running openclaw completion -s zsh (or openclaw completion --write-state) on native Windows hangs indefinitely and must be killed with SIGKILL. This prevents automatic generation of shell completion cache files.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Running openclaw completion -s zsh (or openclaw completion --write-state) on native Windows hangs indefinitely and must be killed with SIGKILL. This prevents automatic generation of shell completion cache files.

Steps to reproduce

  1. Install OpenClaw on native Windows (no WSL)
  2. Run openclaw completion -s zsh
  3. Command hangs with no output and must be killed

Also happens with:

  • openclaw completion --write-state
  • openclaw completion -s powershell
  • openclaw completion -s zsh --yes

Expected behavior

Completion script should be generated and written to $OPENCLAW_STATE_DIR/completions/openclaw.zsh.

Actual behavior

The command hangs indefinitely with no output. No completion cache file is created. The zsh profile references the missing cache file, causing errors on every shell startup.

OpenClaw version

26.5.18

Operating system

Windows 10

Install method

No response

Model

qwen/qwen3.6-plus

Provider / routing chain

bailian-coding/qwen3.6-plus (via api-key in models.json)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Completion script should be generated and written to $OPENCLAW_STATE_DIR/completions/openclaw.zsh.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING