This patch provides `_autoenv_snap_pre` & `_autoenv_snap_post` to create a shell state diff for use in `.enter` files which can then be restored in `.exit` with `_autoenv_snap_restore`.
This patch provides `_autoenv_snap_pre` & `_autoenv_snap_post` to create a shell state diff for use in `.enter` files which can then be restored in `.exit` with `_autoenv_snap_restore`.