mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
feat(archlinux): add cleanup aliases to yaourt
and yay
(#10184)
This commit is contained in:
parent
b79726b1c3
commit
eba3be243f
2 changed files with 8 additions and 0 deletions
|
@ -143,6 +143,8 @@ upgrades were available. Use `pacman -Que` instead.
|
|||
| yaupd | `yaourt -Sy` | Update and refresh local package, ABS and AUR databases |
|
||||
| yaupg | `yaourt -Syua` | Sync with repositories before upgrading all packages (from AUR too) |
|
||||
| yasu | `yaourt -Syua --no-confirm` | Same as `yaupg`, but without confirmation |
|
||||
| yaclun | `yaourt -Yc` | Remove unneeded installed packages |
|
||||
| yaclf | `yaourt -Scc` | Remove cache directories |
|
||||
| upgrade[²](#f2) | `yaourt -Syu` | Sync with repositories before upgrading packages |
|
||||
|
||||
#### Yay[¹](#f1)
|
||||
|
@ -165,6 +167,8 @@ upgrades were available. Use `pacman -Que` instead.
|
|||
| yaupd | `yay -Sy` | Update and refresh local package, ABS and AUR databases |
|
||||
| yaupg | `yay -Syu` | Sync with repositories before upgrading packages |
|
||||
| yasu | `yay -Syu --no-confirm` | Same as `yaupg`, but without confirmation |
|
||||
| yaclun | `yay -Yc` | Remove unneeded installed packages |
|
||||
| yaclf | `yay -Scc` | Remove cache directories |
|
||||
| upgrade[²](#f2) | `yay -Syu` | Sync with repositories before upgrading packages |
|
||||
|
||||
---
|
||||
|
|
|
@ -170,6 +170,8 @@ if (( $+commands[yaourt] )); then
|
|||
alias yainsd='yaourt -S --asdeps'
|
||||
alias yamir='yaourt -Syy'
|
||||
alias yaupd="yaourt -Sy"
|
||||
alias yaclun='yaourt -Yc'
|
||||
alias yaclf='yaourt -Scc'
|
||||
alias upgrade='yaourt -Syu'
|
||||
fi
|
||||
|
||||
|
@ -190,6 +192,8 @@ if (( $+commands[yay] )); then
|
|||
alias yainsd='yay -S --asdeps'
|
||||
alias yamir='yay -Syy'
|
||||
alias yaupd="yay -Sy"
|
||||
alias yaclun='yay -Yc'
|
||||
alias yaclf='yay -Scc'
|
||||
alias upgrade='yay -Syu'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue