sensu-cli icon indicating copy to clipboard operation
sensu-cli copied to clipboard

sensu-cli.bash throws errors during tab completion

Open danielhoherd opened this issue 9 years ago • 0 comments

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.

danielhoherd avatar Oct 06 '16 21:10 danielhoherd