Skip to content

Conversation

@msaipraneeth
Copy link
Contributor

@msaipraneeth msaipraneeth commented Jan 28, 2026

Description

Adds documentation for the zsh completion workaround needed on msys2/Windows systems.

Changes

  • Added note box in docs/automate/cmemc-command-line-interface/configuration/completion-setup/index.md explaining the msys2/Windows workaround
  • Users are instructed to use eval "$(_CMEMC_COMPLETE=zsh_source cmemc | tr -d '\r')" on Windows/msys2

Context

This documentation change accompanies the fix in cmemc that strips carriage returns from completion output to prevent "parse error near elif" on Windows/msys2 systems.

Add note explaining that zsh users on Windows/msys2 need to pipe
through 'tr -d \r' to strip carriage returns and avoid parse errors
when setting up command-line completion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants