diff options
author | Guangxiong Lin <[email protected]> | 2022-02-05 13:24:57 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-05 13:24:57 +0800 |
commit | 324d6a3c8f485a5f4bf7fd123d334d5d78a3402c (patch) | |
tree | a3011fa7f4e22e8b6b6c9f0a256a3b95789a88c4 /.aliases | |
parent | 2bb390ceb0916a8dd669c4762e4c6421a5eaa9f3 (diff) | |
download | dotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.tar.gz dotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.tar.bz2 dotfiles-324d6a3c8f485a5f4bf7fd123d334d5d78a3402c.zip |
Update pacman aliases and replace yay with paru
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -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 |