added list "installed" functionality
This commit is contained in:
parent
fd49c9e953
commit
cdc17a329b
3
pman.sh
3
pman.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user