Fix shell type detection.
Merge pull request #8 from pjcdawkins/detect-shell

Fix shell type detection.

Resolves #7