From a67b089c89ec3e399c85264eb4183c9df81334e0 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Sat, 11 Feb 2023 20:32:50 +0000 Subject: [PATCH] completions/xbps-query: complete package name after `-X` --- share/completions/xbps-query.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/xbps-query.fish b/share/completions/xbps-query.fish index 4757035b5..ef614e68d 100644 --- a/share/completions/xbps-query.fish +++ b/share/completions/xbps-query.fish @@ -68,5 +68,6 @@ complete -c $progname -s S -d 'Shows information of an installed package' -x complete -c $progname -s s -d 'Search for packages by matching PATTERN on pkgver or short_desc' complete -c $progname -s f -d 'Show the package files for PKG' -x complete -c $progname -s x -d 'Show the required dependencies for PKG. Only direct dependencies are shown' -x -complete -c $progname -s X -d 'Show the reverse dependencies for PKG' -x +complete -c $progname -s X -d 'Show the reverse dependencies for PKG' -xa "$listinstalled" +complete -c $progname -s X -d 'Show the reverse dependencies for PKG' -x -n "__fish_contains_opt -s R" -a "$listall" complete -c $progname -l cat -d 'Prints the file FILE stored in binary package PKG to stdout' -F