new feature: searchexclude

This commit is contained in:
zenobit 2022-01-08 17:11:00 +01:00
parent 4931245db2
commit 58aab2ab6c
2 changed files with 12625 additions and 0 deletions

File diff suppressed because it is too large Load Diff

7
vbm
View File

@ -213,6 +213,8 @@ usage () {
t "xbps-query -v -Rs"
echo "search (s) <name> - Search for package by <name> (exclude multilib repo)"
t "xbps-query -v -Rs"
echo "searchexclude (se) <name> - Search for package by <name> (exclude multilib repo)"
t "xbps-query -v -Rs"
echo "searchfile (sf) <file> - Search for package containing <file> (local)"
t "xbps-query -v -o \"*/$1\""
echo "whatprovides (wp) <file> - Search for package containing <file>"
@ -547,6 +549,11 @@ case "$cmd" in
wrapcommand xbps-query -v -Rs "$*" | grep -v 32bit
;;
searchexclude|se)
msg -n "Searching for: $* "
wrapcommand xbps-query -v -Rs "$@" | grep -v 32bit
;;
cleanup|clean|cl)
msg -n 'Remove obsolete packages in cachedir '
rootcheck