From e28b45deba6228f8551f1df0bbb4d3c881f1af53 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 28 Nov 2021 10:14:28 +0800 Subject: Update pacman and yay alias --- .aliases | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.aliases b/.aliases index b3df25c..3ce56a1 100644 --- a/.aliases +++ b/.aliases @@ -8,7 +8,22 @@ alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' if [ -f /usr/bin/pacman ]; then - alias Syu='sudo pacman -Syu' + alias S='pacman -S' + alias Si='pacman -Si' alias Ss='pacman -Ss' + alias Syu='sudo pacman -Syu' + alias Rs='sudo pacman -Rs' + + alias Q='pacman -Q' + alias Qi='pacman -Qi' + alias Qs='pacman -Qs' +fi + +if [ -f /usr/bin/yay ]; then + alias Sia='yay -Sia' + alias Ssa='yay -Ssa' + alias Syua='yay -Syua' + + alias Rsa='yay -Rsa' fi -- cgit v1.2.3