What's wrong with my shifter?
Looks like the barrel adjuster has been broken off and has floated down the shift cable, so the shifter end of the cable housing is not anchored.

The shifter unit should look like this 



You might be able to glue the inner barrel back on to the shifter body. The housing is pulled back into the shifter so the glued joint would be compressed rather than pulled apart.