fix init.sh to work in zsh and bash

Hi all, 

I changed to two "if" conditions in the init.sh to work for zsh and bash shell as I think those two are the mostly used shells.

The best way would be to addapt the init.sh to work for any kind of shells.

Cheers,
Clement