zsh/.aliases/command-specific/pacman

18 lines
311 B
Plaintext
Raw Normal View History

2015-04-25 21:51:54 -04:00
# pacman
2018-01-19 22:07:59 -05:00
alias pi='trizen'
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
2018-01-19 22:07:59 -05:00
if [[ ! -n $(pi -Qdt) ]]; then
2015-04-25 21:51:54 -04:00
echo "No orphans to remove."
else
2018-01-19 22:07:59 -05:00
pi -Rns $(pacman -Qdtq)
2015-04-25 21:51:54 -04:00
fi
}
2015-04-25 21:51:54 -04:00
alias up='pup'