Determining which Shell is Active

This will give the name of the running process:

> echo $0
-zsh

echo $SHELL will give the name of the default shell:

> echo $SHELL
/bin/zsh