Automatic Profile Switching: Switch back to previous profile when rule no longer matches
Current behaviour is to switch profile when a rule matches, but the profile is not returned to the Default (or previous) profile when the rule no longer matches.
Example:
Profile directory rule: /Users/example/git
~ example$ cd git
git example$ cd ~
Profile changes as expected when moving into the ~/git
directory, but intuitively the new profile should no longer apply and the previous profile should be restored on leaving the directory (i.e., when the rule no longer matches). This is currently not the case.
The same example holds true for host- and user-based rules.