aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/.bashrc b/misc/.bashrc
index 3212c87..1cd3b35 100644
--- a/misc/.bashrc
+++ b/misc/.bashrc
@@ -167,6 +167,7 @@ then
alias pQs="pacman -Qs" # query list
alias pQmq="pacman -Qmq" # list foreign packages
alias pQdt="pacman -Qdt" # list orphans
+ alias pQe="pacman -Qe" # explicitly installed packages
# Inspect packages (remote and local)
alias pSi="pacman -Si" # remote package details
@@ -176,6 +177,8 @@ then
# Remove packages
alias pRs="sudo pacman -Rs" # remove package
alias pRnsc="sudo pacman -Rnsc" # remove package recursively
+ # similar to apt autoremove
+ alias pRat="sudo pacman -Qdtq | sudo pacman -Rs -"
# Clear cache
alias pcache1="sudo paccache -rk 1" # remove cache except last item