See: $ ls foo s $ cat s trap return INT read -e $ source s
I press Ctrl-C here and bash prompts me for the next command. Then I press F and Tab; instead of producing the bell sound bash completes f to foo. If I press Ctrl-C again it prints "bash: return: can only `return' from a function or sourced script" and completion returns to normal. Oğuz