eval the $CHDIR_COMMAND envvar

this should allow some more advanced syntax to be used,
without a major performance impact.