On issue #36

I tested type in some shells (bash, sh, zsh csh), particularly it doesn't work under zsh and csh, I think which is more reliable, works on the mentioned shells.
I omitted the "/bin/bash" as lukaslueg suggested and let python decide which shell to use.
Works fine now in freeBSD.