zsh/.aliases/command-specific/pacman

18 lines
311 B
Plaintext

# pacman
alias pi='trizen'
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 $(pi -Qdt) ]]; then
echo "No orphans to remove."
else
pi -Rns $(pacman -Qdtq)
fi
}
alias up='pup'