Add per-directory-history