2015-04-25 21:51:54 -04:00
|
|
|
# pacman
|
2016-03-02 23:34:02 -05:00
|
|
|
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
|
2016-03-02 23:34:02 -05:00
|
|
|
if [[ ! -n $(pacaur -Qdt) ]]; then
|
2015-04-25 21:51:54 -04:00
|
|
|
echo "No orphans to remove."
|
|
|
|
else
|
2016-03-02 23:34:02 -05:00
|
|
|
pacaur -Rns $(pacman -Qdtq)
|
2015-04-25 21:51:54 -04:00
|
|
|
fi
|
2016-03-02 23:34:02 -05:00
|
|
|
}
|
2015-04-25 21:51:54 -04:00
|
|
|
|
|
|
|
alias up='pup'
|