mirror of https://github.com/ohmyzsh/ohmyzsh.git
Merge bd042e2332
into 30e516a3aa
This commit is contained in:
commit
8010e00f26
|
@ -155,6 +155,30 @@ upgrades were available. Use `pacman -Que` instead.
|
||||||
| yasu | `yay -Syu --no-confirm` | Same as `yaupg`, but without confirmation |
|
| yasu | `yay -Syu --no-confirm` | Same as `yaupg`, but without confirmation |
|
||||||
| upgrade[¹](#f1) | `yay -Syu` | Sync with repositories before upgrading packages |
|
| upgrade[¹](#f1) | `yay -Syu` | Sync with repositories before upgrading packages |
|
||||||
|
|
||||||
|
#### Paru
|
||||||
|
|
||||||
|
| Alias | Command | Description |
|
||||||
|
|----------|---------------------------------|-------------------------------------------------------------------|
|
||||||
|
| parclean | `paru -Sc` | Clean out old and unused caches and packages |
|
||||||
|
| parclr | `paru -Scc` | Remove all files from the cache |
|
||||||
|
| parin | `paru -S` | Install packages from the repositories |
|
||||||
|
| parins | `paru -U` | Install a package from a local file |
|
||||||
|
| parinsd | `paru -S --asdeps` | Install packages as dependencies of another package |
|
||||||
|
| parloc | `paru -Qi` | Display information about a package in the local database |
|
||||||
|
| parlocs | `paru -Qs` | Search for packages in the local database |
|
||||||
|
| parlst | `paru -Qe` | List installed packages including from AUR (tagged as "local") |
|
||||||
|
| parmir | `paru -Syy` | Force refresh of all package lists after updating mirrorlist |
|
||||||
|
| parorph | `paru -Qtd` | Remove orphans using paru |
|
||||||
|
| pare | `paru -R` | Remove packages, keeping its settings and dependencies |
|
||||||
|
| parem | `paru -Rns` | Remove packages, including its settings and unneeded dependencies |
|
||||||
|
| parep | `paru -Si` | Display information about a package in the repositories |
|
||||||
|
| pareps | `paru -Ss` | Search for packages in the repositories |
|
||||||
|
| parupd | `paru -Sy` | Update and refresh local package, ABS and AUR databases |
|
||||||
|
| parupg | `paru -Syu` | Sync with repositories before upgrading packages |
|
||||||
|
| parsu | `paru -Syu --no-confirm` | Same as `parupg`, but without confirmation |
|
||||||
|
| upgrade[¹](#f1) | `paru -Syu` | Sync with repositories before upgrading packages |
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<span id="f1">¹</span>
|
<span id="f1">¹</span>
|
||||||
|
@ -181,4 +205,4 @@ whether the package manager is installed, checked in the following order:
|
||||||
- Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info
|
- Ybalrid (Arthur Brainville) - ybalrid@ybalrid.info
|
||||||
- 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
|
||||||
|
|
|
@ -176,6 +176,26 @@ if (( $+commands[yay] )); then
|
||||||
alias yaupd="yay -Sy"
|
alias yaupd="yay -Sy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if (( $+commands[paru] )); then
|
||||||
|
alias parclean='paru -Sc'
|
||||||
|
alias parclr='paru -Scc'
|
||||||
|
alias parupg='paru -Syu'
|
||||||
|
alias parsu='paru -Syu --noconfirm'
|
||||||
|
alias parin='paru -S'
|
||||||
|
alias parins='paru -U'
|
||||||
|
alias pare='paru -R'
|
||||||
|
alias parem='paru -Rns'
|
||||||
|
alias parep='paru -Si'
|
||||||
|
alias pareps='paru -Ss'
|
||||||
|
alias parloc='paru -Qi'
|
||||||
|
alias parlocs='paru -Qs'
|
||||||
|
alias parlst='paru -Qe'
|
||||||
|
alias parorph='paru -Qtd'
|
||||||
|
alias parinsd='paru -S --asdeps'
|
||||||
|
alias parmir='paru -Syy'
|
||||||
|
alias parupd="paru -Sy"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check Arch Linux PGP Keyring before System Upgrade to prevent failure.
|
# Check Arch Linux PGP Keyring before System Upgrade to prevent failure.
|
||||||
function upgrade() {
|
function upgrade() {
|
||||||
echo ":: Checking Arch Linux PGP Keyring..."
|
echo ":: Checking Arch Linux PGP Keyring..."
|
||||||
|
@ -189,7 +209,9 @@ function upgrade() {
|
||||||
echo " Arch Linux PGP Keyring is up to date."
|
echo " Arch Linux PGP Keyring is up to date."
|
||||||
echo " Proceeding with full system upgrade."
|
echo " Proceeding with full system upgrade."
|
||||||
fi
|
fi
|
||||||
if (( $+commands[yay] )); then
|
if (( $+commands[paru] )); then
|
||||||
|
paru -Syu
|
||||||
|
elif (( $+commands[yay] )); then
|
||||||
yay -Syu
|
yay -Syu
|
||||||
elif (( $+commands[trizen] )); then
|
elif (( $+commands[trizen] )); then
|
||||||
trizen -Syu
|
trizen -Syu
|
||||||
|
|
Loading…
Reference in New Issue