awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.17k stars 772 forks source link

Recursion limit hit if autocompletion sees say string twice #39

Closed jamesls closed 8 years ago

jamesls commented 8 years ago

If the autocompleter sees the same string twice, it will trigger an infinite recursion loop. This can be seen sometimes by quickly typing/backspacing characters.

Even simpler repo is if you hit tab with no chars. This will try to autocomplete twice with an empty string which triggers the bug.