added list "installed" functionality

This commit is contained in:
Bryan Joshua Pedini 2023-10-28 22:03:35 +02:00
parent fd49c9e953
commit cdc17a329b

View File

@ -31,6 +31,8 @@ if [ "$command_args" = "search" ]; then
command_args="-Ss"
elif [ "$command_args" = "provides" ]; then
command_args="-F"
elif [ "$command_args" = "installed" ]; then
command_args="-Q"
elif [ "$command_args" = "install" ]; then
command_args="-S"
if [ "$command" = "pacman" ]; then
@ -68,6 +70,7 @@ elif [ "$more_arguments" = "true" ]; then
echo " aur (yay) - yay | same as \"yay\""
echo " search - pacman -Ss | search packages"
echo " provides - pacman -F | list packages that provide file"
echo " installed - pacman -Q | list installed packages"
echo " install - pacman -S | install packages"
echo " update - pacman -Sy | updates the repositories"
echo " upgradable - pacman -Qu | list available upgrades"