[pacman-dev] [PATCH 1/2] bash-completion: don't complete filenames when they're not wanted
Filename completion should only be generated for makepkg, when using the
options -p or --config... which means we should offer option completions
by default.
Filename completion for pacman, should not be generated when using -Qu,
or -F without -o.
Signed-off-by: Eli Schwartz
We don't need exact package name completions for something that expects a
regular expression *search*, which is what we currently do. If you want
a package name completion for a search, you don't need the search.
This change is consistent with the current state of zsh completions.
Fixes FS#59965
Signed-off-by: Eli Schwartz
On 8/9/18 1:58 am, Eli Schwartz wrote:
Filename completion should only be generated for makepkg, when using the options -p or --config... which means we should offer option completions by default.
Filename completion for pacman, should not be generated when using -Qu, or -F without -o.
Signed-off-by: Eli Schwartz
This looks OK and passed a very quick test. A
participants (2)
-
Allan McRae
-
Eli Schwartz