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