aliases: switch to pacaur (from apacman)
This commit is contained in:
parent
29696abd78
commit
5c8259b1f7
@ -1,19 +1,17 @@
|
|||||||
# pacman
|
# pacman
|
||||||
alias pup='apacman -Syu --noedit --purgebuild'
|
alias pi='pacaur'
|
||||||
alias pr='sudo apacman -Rs'
|
alias pup='pi -Syu --noedit'
|
||||||
|
alias pr='pi -Rs'
|
||||||
alias prc='pr -c'
|
alias prc='pr -c'
|
||||||
alias pi='apacman --purgebuild'
|
|
||||||
alias pin='pi --noedit --noconfirm'
|
alias pin='pi --noedit --noconfirm'
|
||||||
alias pis='pi -S'
|
alias pis='pi -S'
|
||||||
alias pins='pin -S'
|
alias pins='pin -S'
|
||||||
piro() { #remove orphans
|
piro() { #remove orphans
|
||||||
if [[ ! -n $(apacman -Qdt) ]]; then
|
if [[ ! -n $(pacaur -Qdt) ]]; then
|
||||||
echo "No orphans to remove."
|
echo "No orphans to remove."
|
||||||
else
|
else
|
||||||
apacman -Rns $(pacman -Qdtq)
|
pacaur -Rns $(pacman -Qdtq)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef apacman=pacman
|
|
||||||
|
|
||||||
alias up='pup'
|
alias up='pup'
|
||||||
|
Loading…
Reference in New Issue
Block a user