summaryrefslogtreecommitdiff
path: root/helm-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm-eshell.el')
-rw-r--r--helm-eshell.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/helm-eshell.el b/helm-eshell.el
index 5b01dcff..1b2f9ddb 100644
--- a/helm-eshell.el
+++ b/helm-eshell.el
@@ -251,6 +251,9 @@ The function that call this should set `helm-ec-target' to thing at point."
"\\`\\*" ""
(car (last (ignore-errors
(pcomplete-parse-arguments))))))
+ ;; Set helm-eshell--delete-suffix-flag to non-nil only on
+ ;; quit, this tells to not add final suffix when quitting
+ ;; helm.
(add-hook 'helm-quit-hook 'helm-eshell--delete-space)
(with-helm-show-completion beg end
(unwind-protect