shell-chdrive-regexp

shell-chdrive-regexp is a variable defined in `shell.el'.
Its value is
nil


Documentation:
If non-nil, is regexp used to track drive changes.

You can customize this variable.