From 8440a92eedc499a742570c02731d5545413fc48c Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 8 Oct 2021 14:51:36 +0200 Subject: Map eshell commands ending with "$* &" automatically i.e. not need to specify a prefix arg. --- helm-files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helm-files.el') 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. -- cgit v1.2.3