22 lines
411 B
Plaintext
22 lines
411 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 gup='updateGit.sh'
|
||
|
|
||
|
alias up='pup'
|