Fish. It has a lot of problems, but check this out:
$ mkdir /path/to/you/know/THETHING
$ echo FUCKIN SUCKS
$ cp ./*.blort /THETHING<M-.>
It doesn't just append the last word from the previous line so that I end up with "/THETHINGSUCKS". It searches backward in the history and ''substitutes'' the symbol matching the substring at the point.
This is apparently some kind of rocket science, because I've never seen another shell do it properly.