Another way to trigger this bug is typing for var in $(</etc/ho
and hitting Tab. This is a common scenario when working with files containing stuff you need to process in some ways. I am hitting this bug several times a day and this is very annoying. Wheezy was the last distro where this bug didn't exist.