enable dirhistory support