make an educated guess about the shell in use