hook exec-path to dired mode