pman/README.md

1.2 KiB

pman.sh

A pacman helper script, because you forget all the stupid flags

Usage / Features:

  • aur/yay
  • search
  • info
  • localinfo
  • provides
  • providefiles
  • installed
  • install
  • update
  • upgradable
  • upgrade
  • remove
  • purge
  • clean
  • reflector
  • ignored
  • ignore
  • unignore
  • config

reflector and config are the only flag that are not appended to pacman (or yay)
instead reflector resolves to using the reflector program with the previously used parameters stored in /etc/pacman.d/mirrorlist
and config resolves to nano /etc/pacman.conf.
ignore and unignore require the file /etc/pacman.d/ignorepkg to exist (you can use install -m0644 /etc/pacman.d/ignorepkg to create it),
and the line Include /etc/pacman.d/ignorepkg to be inserted into /etc/pacman.conf.

sudo gets prepended automatically if the command requires root privileges, if the UID is not 0 (you are not root) and if sudo installed.
no, there is no check if your user is in the sudo group, if you download this script you should already be, or know you can only use part of this utility
tho such a feature is planned, to make the script truly ubiquitus.