summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thievol@posteo.net>2021-10-08 14:51:36 +0200
committerThierry Volpiatto <thievol@posteo.net>2021-10-08 14:51:36 +0200
commit8440a92eedc499a742570c02731d5545413fc48c (patch)
treec649c6984be34fb665c34aa40eca6045e958452f /helm-files.el
parentc65e5c813087c5d6e226a127b05958d2cf31a26a (diff)
Map eshell commands ending with "$* &" automatically
i.e. not need to specify a prefix arg.
Diffstat (limited to 'helm-files.el')
-rw-r--r--helm-files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-files.el b/helm-files.el
index 4e8487f8..233a547c 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1504,7 +1504,7 @@ this working."
(and alias-value
;; If command is an alias be sure it accept
;; more than one arg i.e $*.
- (string-match "\\$\\*$" alias-value)))
+ (string-match "\\$\\* ?&?\\'" alias-value)))
(cdr cand-list))
;; Run eshell-command with ALL marked files as arguments.