ee: exit all shells

· Thiago Perrotta · Feb. 23, 2026, 12:04 p.m.
Summary
This blog post discusses a shell function called 'ee' that allows users to exit all nested shell instances (bash and zsh) simultaneously, which is useful for managing subshells effectively. It includes rationale, code snippets for both bash and zsh, and an explanation of the differences in the handling of variables in these two shells.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →