The following events are defined by xonsh itself.
on_chdir(olddir: str, newdir: str) -> None
Fires when the current directory is changed for any reason.