alias-pacman.zsh 1.44 KB
Newer Older
Nicolas Lenz's avatar
Nicolas Lenz committed
1
2
3
4
5
6
7
# ╔══════════════════════════════╗
# ║    zsh config by Eisfunke    ║
# ╟─────────┬────────────────────╢
# ║ Aliases │       Pacman       ║
# ╚═════════╧════════════════════╝

alias p="yay"
Nicolas Lenz's avatar
Yeet    
Nicolas Lenz committed
8
alias yoink="yay"
Nicolas Lenz's avatar
Nicolas Lenz committed
9

10
11
alias pup="yay -Syu --devel --sudoloop"  # Update all packages
alias pin="yay -S --sudoloop"  # (Re-)Install package
Nicolas Lenz's avatar
Nicolas Lenz committed
12
13
alias prm="yay -Runs --sudoloop"  # Remove package with dependencies and config
alias yeet="yay -Runs --sudoloop"
Nicolas Lenz's avatar
Nicolas Lenz committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

alias psr="yay -Ss"  # Search for a package
alias pif="yay -Sii"  # Show package info
alias plr="paclist"  # List all packages from a repo
alias plg="yay -Sg"  # List all packages from a group

alias pls="yay -Q"  # List installed packages
alias ple="yay -Qe"  # List explicitly installed packages
alias pld="yay -Qd"   # List packages installed as dependencies
alias plo="yay -Qdt"  # List orphaned packages
alias plf="yay -Ql"  # List package's files
alias ppr="yay -Qo"  # Check which package provides a file

alias pdp="yay -D --asdeps"  # Set installation reason to dependency
alias pex="yay -D --asexplicit"  # Set installation reason to explicit

alias pmi="makepkg -sic"  # Make and install a PKGBUILD
alias pmk="makepkg -s"  # Make a PKGBUILD

# Show this file as help
alias phelp="head -n-3 /etc/zsh/alias-pacman.zsh"