_xbps: update zsh completion for 0.38
This commit is contained in:
parent
dee7852af8
commit
73935efeb7
@ -11,7 +11,7 @@ _xbps_common=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
_xbps_all_packages() {
|
_xbps_all_packages() {
|
||||||
compadd "$@" -- $(xbps-query -s '' | sed 's/^... \([^ ]*\)-.* .*/\1/')
|
compadd "$@" -- $(xbps-query -Rs '' | sed 's/^... \([^ ]*\)-.* .*/\1/')
|
||||||
}
|
}
|
||||||
|
|
||||||
_xbps_installed_packages() {
|
_xbps_installed_packages() {
|
||||||
@ -93,6 +93,7 @@ _xbps_query() {
|
|||||||
{-c,--cachedir=-}'[Full path to cachedir]:cache dir:_files -/' \
|
{-c,--cachedir=-}'[Full path to cachedir]:cache dir:_files -/' \
|
||||||
{-p,--property=-}'[Show properties]: ' \
|
{-p,--property=-}'[Show properties]: ' \
|
||||||
--regex'[Use Extended Regular Expressions to match]' \
|
--regex'[Use Extended Regular Expressions to match]' \
|
||||||
|
--fulldeptree'[Full dependency tree for -x/--deps]' \
|
||||||
{-R,--repository}'[Enable repository mode]' \
|
{-R,--repository}'[Enable repository mode]' \
|
||||||
--repository=-'[Add repository to the top of the list]:repository url:_files -/' \
|
--repository=-'[Add repository to the top of the list]:repository url:_files -/' \
|
||||||
- '(actions)' \
|
- '(actions)' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user