diff options
-rw-r--r-- | helm-eshell.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helm-eshell.el b/helm-eshell.el index 17232410..6507dc0b 100644 --- a/helm-eshell.el +++ b/helm-eshell.el @@ -105,6 +105,8 @@ The function that call this should set `helm-ec-target' to thing at point." ;; Compare them to avoid dups. for file-entry-p = (and (stringp exp-entry) (stringp file-cand) + ;; Fix :/tmp/foo/ $ cd foo + (not (file-directory-p file-cand)) (file-equal-p exp-entry file-cand)) if (and file-cand (or (file-remote-p file-cand) (file-exists-p file-cand)) |