Skip to content

Bug in zsh completion? #62

@telemachus

Description

@telemachus

I think that there may be a bug in the completion file for zsh. Here's how to trigger it.

passage -<Tab>

After tabbing at that position, the cursor moves one character left (!), so that the next character you enter is placed before - rather than after it.

I am not especially comfortable with zsh completions, but I have a version that works for me in this gist. (Briefly: I think the problem is that the current completion mixes its handling of command-level flags and subcommands.) I'm happy to submit a PR, but I'm hoping to see (1) if other people have experienced the same problem and (2) if my solution looks good to people who know more about zsh completions than me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions