Skip to content

[BUG] Shell completion scripts exit with code 127 even on success #656

@xyz080125

Description

@xyz080125

Project

cortex

Description

The completion commands for fish and zsh exit with code 127 even when they generate valid output

Error Message

Debug Logs

System Information

Windows 11

Screenshots

No response

Steps to Reproduce

"Run: cortex completion fish; echo $?",
"Observe output is generated but exit code is 127"

Expected Behavior

Exit code should be 0 on successful generation

Actual Behavior

Exit code is 127 despite valid output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions