Skip to content

[bug] complete rejects dashed function names: complete '_dirs-complete' — GNU accepts (breaks 16 oh-my-bash completion assets) #427

Closed

Description

@caomengxuan666

wt92/harvest finding: complete -F _dirs-complete dirs → 'not a valid identifier'; GNU accepts dashed identifiers (they are valid bash function names). Breaks oh-my-bash dirs/G-R completions (16 assets in the harvest emit this class). Fix the identifier validation to match bash's name rules for FUNCTION names (dashes legal).

Activity

  1. added
    P1-high
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions