-
-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update completions for zsh and bash to pacman 5.2 #1102
Conversation
completions/zsh
Outdated
@@ -190,7 +194,6 @@ _pacman_opts_database=( | |||
_pacman_opts_files=( | |||
{-l,--list}'[List the files owned by the queried package]:package:_pacman_completions_all_packages' | |||
{-o,--owns}'[Query the package that owns]:files:_files' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-F --files
-o --owns
is also deleted in pacman 5.2
completions/bash
Outdated
database=('asdeps asexplicit') | ||
files=('list machinereadable owns search refresh regex' 'l o s x y') | ||
query=('changelog check deps explicit file foreign groups info list native owns | ||
search unrequired upgrades' 'c e g i k l m n o p s t u') | ||
remove=('cascade dbonly nodeps assume-installed nosave print recursive unneeded' 'c n p s u') | ||
sync=('asdeps asexplicit clean dbonly downloadonly force groups ignore ignoregroup | ||
info list needed nodeps assume-installed print refresh recursive search sysupgrade' | ||
'c g i l p s u w y') | ||
'c g i l p s u w y') | ||
upgrade=('asdeps asexplicit force needed nodeps assume-installed print recursive' 'p') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs replace force
with overwrite
.
completions/bash
Outdated
_get_comp_words_by_ref cur prev | ||
local cur prev words cword | ||
|
||
_init_completion || return | ||
database=('asdeps asexplicit') | ||
files=('list machinereadable owns search refresh regex' 'l o s x y') | ||
query=('changelog check deps explicit file foreign groups info list native owns | ||
search unrequired upgrades' 'c e g i k l m n o p s t u') | ||
remove=('cascade dbonly nodeps assume-installed nosave print recursive unneeded' 'c n p s u') | ||
sync=('asdeps asexplicit clean dbonly downloadonly force groups ignore ignoregroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need replace force
with overwrite
Removes tar completions Removes --owns from bash/zsh Bash now prints repo pkgs if no letter is entered and AUR and repo if there's a letter
Also adds missing options for
yay 9.4