fish and bash support

I used Kevin Ballard's implementation from http://blackpixel.com/blog/2012/11/code-review-kaleidoscope.html.