diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-08-13 15:50:48 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-08-13 15:52:42 +0200 |
commit | 6c0022f8594dff71217a4f5e382f325d0166fa56 (patch) | |
tree | 878234977d4aa6e7f8327c62afeb53473575b16b /helm-eshell.el | |
parent | daaaf2bc25e8729ae547f36db456cbfe789456f0 (diff) |
Add comment for eshell completion (#1832)
* helm-eshell.el (helm-esh-pcomplete): Do it.
Diffstat (limited to 'helm-eshell.el')
-rw-r--r-- | helm-eshell.el | 3 |
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 |