aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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