diff --git a/plugins/archlinux/README.md b/plugins/archlinux/README.md index 5e015dbaa..b90dfc053 100644 --- a/plugins/archlinux/README.md +++ b/plugins/archlinux/README.md @@ -107,6 +107,30 @@ upgrades were available. Use `pacman -Que` instead. | pasu | `pacaur -Syua --no-confirm` | Same as `paupg`, but without confirmation | | upgrade[¹](#f1) | `pacaur -Syu` | Sync with repositories before upgrading packages | +#### Paru + +| Alias | Command | Description | +|---------|--------------------------------|-------------------------------------------------------------------| +| puclean | `paru -Sc` | Clean out old and unused caches and packages | +| puclr | `paru -Scc` | Remove all files from the cache | +| puin | `paru -S` | Install packages from the repositories | +| puins | `paru -U` | Install a package from a local file | +| puinsd | `paru -S --asdeps` | Install packages as dependencies of another package | +| puloc | `paru -Qi` | Display information about a package in the local database | +| pulocs | `paru -Qs` | Search for packages in the local database | +| pulst | `paru -Qe` | List installed packages including from AUR (tagged as "local") | +| pumir | `paru -Syy` | Force refresh of all package lists after updating mirrorlist | +| puorph | `paru -Qtd` | Remove orphans using yay | +| pure | `paru -R` | Remove packages, keeping its settings and dependencies | +| purem | `paru -Rns` | Remove packages, including its settings and unneeded dependencies | +| purep | `paru -Si` | Display information about a package in the repositories | +| pureps | `paru -Ss` | Search for packages in the repositories | +| puupd | `paru -Sy` | Update and refresh local package, ABS and AUR databases | +| puupg | `paru -Syu` | Sync with repositories before upgrading packages | +| pusu | `paru -Syu --no-confirm` | Same as `yaupg`, but without confirmation | +| pufiles | `paru -F` | Search package file names for matching strings | +| upgrade[¹](#f1) | `paru -Syu` | Sync with repositories before upgrading packages | + #### Trizen | Alias | Command | Description | @@ -163,9 +187,10 @@ whether the package manager is installed, checked in the following order: 1. `yay` 2. `trizen` -3. `pacaur` -4. `aura` -5. `pacman` +3. `paru` +4. `pacaur` +5. `aura` +6. `pacman` ## Contributors @@ -181,4 +206,5 @@ whether the package manager is installed, checked in the following order: - Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info - Jeff M. Hubbard - jeffmhubbard@gmail.com - K. Harishankar(harishnkr) - hari2menon1234@gmail.com -- WH-2099 - wh2099@outlook.com \ No newline at end of file +- WH-2099 - wh2099@outlook.com +- Boris Frenkel - fobos2k@gmail.com diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index fca6548c0..dcab2af62 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -134,6 +134,27 @@ if (( $+commands[pacaur] )); then alias paupd="pacaur -Sy" fi +if (( $+commands[paru] )); then + alias puclean='paru -Sc' + alias puclr='paru -Scc' + alias puin='paru -S' + alias puins='paru -U' + alias puinsd='paru -S --asdeps' + alias puloc='paru -Qi' + alias pulocs='paru -Qs' + alias pulst='paru -Qe' + alias pumir='paru -Syy' + alias puorph='paru -Qtd' + alias pure='paru -R' + alias purem='paru -Rns' + alias purep='paru -Si' + alias pureps='paru -Ss' + alias puupd='paru -Sy' + alias puupg='paru -Syu' + alias pusu='paru -Syu --no-confirm' + alias pufiles='paru -F' +fi + if (( $+commands[trizen] )); then alias trconf='trizen -C' alias trupg='trizen -Syua' @@ -193,6 +214,8 @@ function upgrade() { yay -Syu elif (( $+commands[trizen] )); then trizen -Syu + elif (( $+commands[paru] )); then + paru -Syu elif (( $+commands[pacaur] )); then pacaur -Syu elif (( $+commands[aura] )); then