29 lines
901 B
Markdown
29 lines
901 B
Markdown
# 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
|
|
- config
|
|
|
|
`reflector` and `config` are the only flag that are not appended to `pacman` (or `yay`)<br>
|
|
instead `reflector` resolves to `reflector` with the previously used parameters stored in `/etc/pacman.d/mirrorlist`<br>
|
|
and `config` resolves to `nano /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.<br>
|
|
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<br>
|
|
tho such a feature is planned, to make the script truly ubiquitus.
|