Sometimes I do things such as starting a sub-shell from vim with
:sh. How do I know if I'm in a sub-shell where
exit will just return me out one level, vs. being in the outermost shell where
exit will log me out or close my session.
Is there some kind of Inception totem I can spin or something to know how many levels deep I am?