20 lines
385 B
Plaintext
20 lines
385 B
Plaintext
# pacman
|
|
alias pup='apacman -Syu --noedit --purgebuild'
|
|
alias pr='sudo apacman -Rs'
|
|
alias prc='pr -c'
|
|
alias pi='apacman --purgebuild'
|
|
alias pin='pi --noedit --noconfirm'
|
|
alias pis='pi -S'
|
|
alias pins='pin -S'
|
|
piro() { #remove orphans
|
|
if [[ ! -n $(apacman -Qdt) ]]; then
|
|
echo "No orphans to remove."
|
|
else
|
|
apacman -Rns $(pacman -Qdtq)
|
|
fi
|
|
}
|
|
|
|
compdef apacman=pacman
|
|
|
|
alias up='pup'
|