Assumes installed bash (tested 4.3_p48-r1) bash-completion (tested 2.4-r1, 2.7) Reproduction: Create an executable script "test.sh": ``` #!/bin/bash sleep 10 ``` and an empty file "something". Launch bash so that bash_completion is loaded. $ ./test.sh some[tab]thing [enter] [ctrl-Z] --> The shell is broken, not showing any typed characters. Link to Gentoo: The bug is not reproducible without Gentoo patch https://bitbucket.org/mgorny/bashcomp2/downloads/bashcomp-2.0.2.tar.gz which alters the function "_completion_loader" Related bash-completion issue: https://github.com/scop/bash-completion/issues/148