index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-26 | bash-completion: use POSIX character classes in regular expressions | Eli Schwartz | |
bash uses POSIX extended regular expressions via regex(3), which does not guarantee support for shorthand character classes. Although glibc supports it, msys2-runtime does not. Make sure the completion script works (hopefully) everywhere by being more portable. Fixes: https://github.com/msys2/MSYS2-packages/pull/1549 Original-patch-by: plotasse <platos@protonmail.ch> Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2019-03-25 | bash-completion: support file redirection completions | Eli Schwartz | |
The current completions don't properly handle redirection operators, and attempt to complete command completions rather than completing filenames to redirect to. bash-completion provides both _get_comp_words_by_ref and a higher-level wrapper _init_completion, but the latter provides handling of redirection operators, so switch to using that. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-10-21 | bash-completion: disable completions for pacman --search operations | 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 <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-10-21 | bash-completion: don't complete filenames when they're not wanted | Eli Schwartz | |
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 <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-08-10 | scripts: Remove trailing semicolons | Jan Alexander Steffens (heftig) | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-05-12 | bash_completion.in - consider option "-n --native" in operation "-Q --query" | Simon Linden | |
Signed-off-by: Simon Linden <xhi2018@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-01-19 | use pacman-conf in bash completion | Joel Teichroeb | |
Signed-off-by: Joel Teichroeb <joel@teichroeb.net> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-10-10 | Move bash/zsh completion out of contrib | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> |