mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 09:00:31 -08:00
Enhance pcomplete support for xargs
* lisp/pcmpl-unix.el (pcomplete/xargs): Add support for completing xargs options, including the ability to distinguish them from the command xargs runs (bug#49603). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
153c9d5ff4
commit
b4b0c219a1
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ being via `pcmpl-ssh-known-hosts-file'."
|
|||
;;;###autoload
|
||||
(defun pcomplete/xargs ()
|
||||
"Completion for `xargs'."
|
||||
;; FIXME: Add completion of xargs-specific arguments.
|
||||
(while (string-prefix-p "-" (pcomplete-arg 0))
|
||||
(pcomplete-here (funcall pcomplete-default-completion-function)))
|
||||
(funcall pcomplete-command-completion-function)
|
||||
(funcall (or (pcomplete-find-completion-function (pcomplete-arg 1))
|
||||
pcomplete-default-completion-function)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue