shell-popd-regexp

shell-popd-regexp is a variable defined in `shell.el'.
Its value is
"popd"


Documentation:
Regexp to match subshell commands equivalent to popd.

You can customize this variable.