mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add aliases for cleaning cache in archlinux plugin.
This commit is contained in:
parent
b908feebcf
commit
80af869fc1
2 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,8 @@
|
||||||
| yarem | yaourt -Rns | Remove packages, including its settings and unneeded dependencies |
|
| yarem | yaourt -Rns | Remove packages, including its settings and unneeded dependencies |
|
||||||
| yarep | yaourt -Si | Display information about a package in the repositories |
|
| yarep | yaourt -Si | Display information about a package in the repositories |
|
||||||
| yareps | yaourt -Ss | Search for packages in the repositories |
|
| yareps | yaourt -Ss | Search for packages in the repositories |
|
||||||
|
| yacc | yaourt -Sc | Remove old packages from cache directory |
|
||||||
|
| yacac | yaourt -Scc | Remove all packages from cache directory |
|
||||||
| yaupd | yaourt -Sy && sudo abs && sudo aur | Update and refresh local package, ABS and AUR databases |
|
| yaupd | yaourt -Sy && sudo abs && sudo aur | Update and refresh local package, ABS and AUR databases |
|
||||||
| yaupd | yaourt -Sy && sudo abs | Update and refresh the local package and ABS databases |
|
| yaupd | yaourt -Sy && sudo abs | Update and refresh the local package and ABS databases |
|
||||||
| yaupd | yaourt -Sy && sudo aur | Update and refresh the local package and AUR databases |
|
| yaupd | yaourt -Sy && sudo aur | Update and refresh the local package and AUR databases |
|
||||||
|
|
@ -66,6 +68,8 @@
|
||||||
| pacrem | sudo pacman -Rns | Remove packages, including its settings and dependencies |
|
| pacrem | sudo pacman -Rns | Remove packages, including its settings and dependencies |
|
||||||
| pacrep | pacman -Si | Display information about a package in the repositories |
|
| pacrep | pacman -Si | Display information about a package in the repositories |
|
||||||
| pacreps | pacman -Ss | Search for packages in the repositories |
|
| pacreps | pacman -Ss | Search for packages in the repositories |
|
||||||
|
| paccc | pacman -Sc | Remove old packages from cache directory |
|
||||||
|
| paccac | pacman -Scc | Remove all packages from cache directory |
|
||||||
| pacrmorphans | sudo pacman -Rs $(pacman -Qtdq) | Delete all orphaned packages |
|
| pacrmorphans | sudo pacman -Rs $(pacman -Qtdq) | Delete all orphaned packages |
|
||||||
| pacupd | sudo pacman -Sy && sudo abs && sudo aur | Update and refresh the local package, ABS and AUR databases |
|
| pacupd | sudo pacman -Sy && sudo abs && sudo aur | Update and refresh the local package, ABS and AUR databases |
|
||||||
| pacupd | sudo pacman -Sy && sudo abs | Update and refresh the local package and ABS databases |
|
| pacupd | sudo pacman -Sy && sudo abs | Update and refresh the local package and ABS databases |
|
||||||
|
|
@ -95,3 +99,4 @@
|
||||||
- ornicar - thibault.duplessis@gmail.com
|
- ornicar - thibault.duplessis@gmail.com
|
||||||
- Juraj Fiala - doctorjellyface@riseup.net
|
- Juraj Fiala - doctorjellyface@riseup.net
|
||||||
- Majora320 (Moses Miller) - Majora320@gmail.com
|
- Majora320 (Moses Miller) - Majora320@gmail.com
|
||||||
|
- Dmitry Kryukov - remasik@gmail.com
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ if (( $+commands[yaourt] )); then
|
||||||
alias yarem='yaourt -Rns'
|
alias yarem='yaourt -Rns'
|
||||||
alias yarep='yaourt -Si'
|
alias yarep='yaourt -Si'
|
||||||
alias yareps='yaourt -Ss'
|
alias yareps='yaourt -Ss'
|
||||||
|
alias yacc='yaourt -Sc'
|
||||||
|
alias yacac='yaourt -Scc'
|
||||||
alias yaloc='yaourt -Qi'
|
alias yaloc='yaourt -Qi'
|
||||||
alias yalocs='yaourt -Qs'
|
alias yalocs='yaourt -Qs'
|
||||||
alias yalst='yaourt -Qe'
|
alias yalst='yaourt -Qe'
|
||||||
|
|
@ -76,6 +78,8 @@ alias pacre='sudo pacman -R'
|
||||||
alias pacrem='sudo pacman -Rns'
|
alias pacrem='sudo pacman -Rns'
|
||||||
alias pacrep='pacman -Si'
|
alias pacrep='pacman -Si'
|
||||||
alias pacreps='pacman -Ss'
|
alias pacreps='pacman -Ss'
|
||||||
|
alias paccc='pacman -Sc'
|
||||||
|
alias paccac='pacman -Scc'
|
||||||
alias pacloc='pacman -Qi'
|
alias pacloc='pacman -Qi'
|
||||||
alias paclocs='pacman -Qs'
|
alias paclocs='pacman -Qs'
|
||||||
alias pacinsd='sudo pacman -S --asdeps'
|
alias pacinsd='sudo pacman -S --asdeps'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue