zsh/.aliases/command-specific/pacman

18 lines
316 B
Plaintext
Raw Permalink Normal View History

2015-04-25 21:51:54 -04:00
# pacman
alias pi='pacaur'
alias pup='pi -Syu --noedit'
alias pr='pi -Rs'
2015-04-25 21:51:54 -04:00
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
2015-04-25 21:51:54 -04:00
echo "No orphans to remove."
else
pacaur -Rns $(pacman -Qdtq)
2015-04-25 21:51:54 -04:00
fi
}
2015-04-25 21:51:54 -04:00
alias up='pup'