mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
feat(archlinux): add aliases for paru
This commit is contained in:
parent
dfe2f04de7
commit
a8d6ac1a50
@ -107,6 +107,30 @@ upgrades were available. Use `pacman -Que` instead.
|
|||||||
| pasu | `pacaur -Syua --no-confirm` | Same as `paupg`, but without confirmation |
|
| pasu | `pacaur -Syua --no-confirm` | Same as `paupg`, but without confirmation |
|
||||||
| upgrade[¹](#f1) | `pacaur -Syu` | Sync with repositories before upgrading packages |
|
| 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
|
#### Trizen
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
@ -163,9 +187,10 @@ whether the package manager is installed, checked in the following order:
|
|||||||
|
|
||||||
1. `yay`
|
1. `yay`
|
||||||
2. `trizen`
|
2. `trizen`
|
||||||
3. `pacaur`
|
3. `paru`
|
||||||
4. `aura`
|
4. `pacaur`
|
||||||
5. `pacman`
|
5. `aura`
|
||||||
|
6. `pacman`
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
@ -182,3 +207,4 @@ whether the package manager is installed, checked in the following order:
|
|||||||
- Jeff M. Hubbard - jeffmhubbard@gmail.com
|
- Jeff M. Hubbard - jeffmhubbard@gmail.com
|
||||||
- K. Harishankar(harishnkr) - hari2menon1234@gmail.com
|
- K. Harishankar(harishnkr) - hari2menon1234@gmail.com
|
||||||
- WH-2099 - wh2099@outlook.com
|
- WH-2099 - wh2099@outlook.com
|
||||||
|
- Boris Frenkel - fobos2k@gmail.com
|
||||||
|
@ -134,6 +134,27 @@ if (( $+commands[pacaur] )); then
|
|||||||
alias paupd="pacaur -Sy"
|
alias paupd="pacaur -Sy"
|
||||||
fi
|
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
|
if (( $+commands[trizen] )); then
|
||||||
alias trconf='trizen -C'
|
alias trconf='trizen -C'
|
||||||
alias trupg='trizen -Syua'
|
alias trupg='trizen -Syua'
|
||||||
@ -193,6 +214,8 @@ function upgrade() {
|
|||||||
yay -Syu
|
yay -Syu
|
||||||
elif (( $+commands[trizen] )); then
|
elif (( $+commands[trizen] )); then
|
||||||
trizen -Syu
|
trizen -Syu
|
||||||
|
elif (( $+commands[paru] )); then
|
||||||
|
paru -Syu
|
||||||
elif (( $+commands[pacaur] )); then
|
elif (( $+commands[pacaur] )); then
|
||||||
pacaur -Syu
|
pacaur -Syu
|
||||||
elif (( $+commands[aura] )); then
|
elif (( $+commands[aura] )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user