print number of nested zsh shells on the right side of the shell
added check for nested zsh shells