install.sh
Using `$(basename "/$SHELL")` to detect the shell would also choose bash on mac
Fixes #1707.