From f5d8cfff5a32361e8d561a66973a7de83f1275f6 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 11 Sep 2020 22:04:24 +0200 Subject: [PATCH] Add some eshell completion patterns * lisp/eshell/em-cmpl.el (eshell-command-completions-alist): Add 'gunzip', 'bunzip2' and 'unxz'. --- lisp/eshell/em-cmpl.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index dcf56af6051..8a444c91001 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el @@ -116,6 +116,9 @@ is non-nil." (defcustom eshell-command-completions-alist '(("acroread" . "\\.pdf\\'") ("xpdf" . "\\.pdf\\'") + ("gunzip" . "\\.t?gz\\'") + ("bunzip2" . "\\.t?bz2\\'") + ("unxz" . "\\.t?xz\\'") ("ar" . "\\.[ao]\\'") ("gcc" . "\\.[Cc]\\([Cc]\\|[Pp][Pp]\\)?\\'") ("g++" . "\\.[Cc]\\([Cc]\\|[Pp][Pp]\\)?\\'") -- 2.39.5