How Do You Know Which Shell the User Is Running?

Most tools default to bash. Here’s how to do better.