aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-05 13:24:57 +0800
committerGuangxiong Lin <[email protected]>2022-02-05 13:24:57 +0800
commit324d6a3c8f485a5f4bf7fd123d334d5d78a3402c (patch)
treea3011fa7f4e22e8b6b6c9f0a256a3b95789a88c4
parent2bb390ceb0916a8dd669c4762e4c6421a5eaa9f3 (diff)
downloaddotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.tar.gz
dotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.tar.bz2
dotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.zip
Update pacman aliases and replace yay with paru
-rw-r--r--.aliases22
1 files changed, 15 insertions, 7 deletions
diff --git a/.aliases b/.aliases
index ce3ad18..0796162 100644
--- a/.aliases
+++ b/.aliases
@@ -13,7 +13,7 @@ alias gmf='git diff --merge-base'
alias gmfn='git diff --merge-base --name-only'
if [ -f /usr/bin/pacman ]; then
- alias S='pacman -S'
+ alias S='sudo pacman -S'
alias Si='pacman -Si'
alias Ss='pacman -Ss'
alias Syu='sudo pacman -Syu'
@@ -25,13 +25,21 @@ if [ -f /usr/bin/pacman ]; then
alias Qi='pacman -Qi'
alias Qm='pacman -Qm'
alias Qs='pacman -Qs'
+ alias Qu='pacman -Qu'
fi
-if [ -f /usr/bin/yay ]; then
- alias Sia='yay -Sia'
- alias Ssa='yay -Ssa'
- alias Syua='yay -Syua'
+if [ -f /usr/bin/paru ]; then
+ alias Sa='paru -Sa'
+ alias Sia='paru -Sia'
+ alias Ssa='paru -Ssa'
+ alias Syua='paru -Syua'
- alias Rsa='yay -Rsa'
- alias Rnsa='yay -Rnsa'
+ alias Rsa='paru -Rsa'
+ alias Rnsa='paru -Rnsa'
+
+ alias Qa='paru -Qa'
+ alias Qia='paru -Qia'
+ alias Qma='paru -Qma'
+ alias Qsa='paru -Qsa'
+ alias Qua='paru -Qua'
fi