Added: List installed packages without their version
thanks to void docs https://docs.voidlinux.org/xbps/index.html?highlight=package#xbps-package-manager
This commit is contained in:
parent
c52627a994
commit
af9bccf2b3
8
vbm
8
vbm
|
@ -210,7 +210,7 @@ usage () {
|
|||
t "xbps-query -v -L"
|
||||
echo "addrepo (ad) <ARGS> - Add an additional repository"
|
||||
t "xbps-install <ARGS>"
|
||||
echo "about (a) <pkg> - Show information about <package>"
|
||||
echo "about (a) <pkg> - Show information about <package>"
|
||||
t "xbps-query -v -R"
|
||||
echo "filelist (fl) <pkg> - Show file-list of <package>"
|
||||
t "xbps-query -v -R -f"
|
||||
|
@ -224,6 +224,8 @@ usage () {
|
|||
t "xbps-query -v -o \"*/$1\""
|
||||
echo "list (ls) - List installed packages"
|
||||
t "xbps-query -v -l"
|
||||
echo "listw (lw) - List installed packages without their version"
|
||||
t "xbps-query -l | awk '{ print $2 }' | xargs -n1 xbps-uhelper getpkgname"
|
||||
echo "install (i) <pkg(s)> - Install <package(s)>"
|
||||
t "xbps-install"
|
||||
echo "devinstall (di) <pkg(s)> - Install <package> (and corresponding <package>-devel package(s))"
|
||||
|
@ -358,6 +360,10 @@ case "$cmd" in
|
|||
done < <(xbps-query -v -l)
|
||||
;;
|
||||
|
||||
listw|lw)
|
||||
wrapcommand xbps-query -l | awk '{ print $2 }' | xargs -n1 xbps-uhelper getpkgname
|
||||
;;
|
||||
|
||||
listalternative|listalternatives|la)
|
||||
wrapcommand xbps-alternatives -l "$@"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue