haven't really looked into why this happens but x[ seems to trigger some funny parser behavior
x[ newline should not prompt with PS2 it can't be defined as a normal sh function, but it can be defined with the function keyword it can't be called like a normal function, but things like "x[" or \x[ work this bug seems old