On 8/6/24 4:19 AM, Oğuz wrote:
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
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 sour