Skip to content

sensu-cli.bash throws errors during tab completion #51

Description

@danielhoherd

sensu-cli throws errors when tab-completing commands. The error is -bash: COMP_WORDS: bad array subscript and appears to be caused by https://github.com/agent462/sensu-cli/blob/47cee1b569/contrib/sensu-cli.bash#L27-L28, which attempt to reference array elements less than 0.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions