summaryrefslogtreecommitdiff
path: root/helm-eshell.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-08-11 20:08:57 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-08-11 20:08:57 +0200
commitb951e7e2c5d2ee18d5d4ac957969bb2ce17c9981 (patch)
tree77e3508d1852e16c2e0e6a48e625e7e8b59d14a5 /helm-eshell.el
parentaecf4c62a50df70b3dedc319a0900972250b0638 (diff)
Don't remove first char after ~ completion (#1832)
* helm-eshell.el (helm-ec-insert): Do it.
Diffstat (limited to 'helm-eshell.el')
-rw-r--r--helm-eshell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-eshell.el b/helm-eshell.el
index 8b7ea62c..c9c9737b 100644
--- a/helm-eshell.el
+++ b/helm-eshell.el
@@ -111,7 +111,7 @@ The function that call this should set `helm-ec-target' to thing at point."
(insert
(mapconcat
(lambda (x)
- (cond ((string-match "\\`~/?" helm-ec-target)
+ (cond ((string-match "\\`~/" helm-ec-target)
;; Strip out the first escape char added by
;; `comint-quote-filename' before "~" (Issue #1803).
(substring (comint-quote-filename (abbreviate-file-name x)) 1))