zsh/.aliases/command-specific/pacman

18 lines
316 B
Plaintext

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