reset_cache in the prompt hook, same as for commands.
Only print context if we stopped since the last time we did that.