Dispatch autocommands

My goal is to enable wrapping a dispatch in an automatic current
directory change, although whether that's a good idea is up for debate.