[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66551: [PATCH] Add completion for Unix 'doas' command.
From: |
Stefan Kangas |
Subject: |
bug#66551: [PATCH] Add completion for Unix 'doas' command. |
Date: |
Sat, 21 Oct 2023 03:08:02 -0700 |
Antero Mejr <antero@mailbox.org> writes:
> Thanks, that is better. However the -C file completion doesn't work for
> me unless I reorder the pcomplete-opt flags like this:
>
> ;;;###autoload
> (defun pcomplete/doas ()
> "Completion for the `doas' command."
> (pcomplete-opt
> "C(pcomplete-entries nil #'file-regular-p)Lnsu(pcmpl-unix-user-names)")
> (funcall pcomplete-command-completion-function)
> (funcall (or (pcomplete-find-completion-function (pcomplete-arg 1))
> pcomplete-default-completion-function)))
>
> The above also lets pcomplete-opt handle the '-' prefix. WDYT?
Could you send an updated patch based on the above?
Thanks in advance.
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Antero Mejr, 2023/10/14
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Stefan Kangas, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Antero Mejr, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Stefan Kangas, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Antero Mejr, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Stefan Kangas, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Visuwesh, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Antero Mejr, 2023/10/15
- bug#66551: [PATCH] Add completion for Unix 'doas' command.,
Stefan Kangas <=
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Antero Mejr, 2023/10/21
- bug#66551: [PATCH] Add completion for Unix 'doas' command., Stefan Kangas, 2023/10/22