Conflict using 'dirhistory' and 'last-working-dir' plugin together. An alternative implementation of 'dirhistory' is provided.