aboutsummaryrefslogtreecommitdiff
path: root/.aliases
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-11-28 10:14:28 +0800
committerGuangxiong Lin <[email protected]>2021-11-28 10:14:28 +0800
commite28b45deba6228f8551f1df0bbb4d3c881f1af53 (patch)
tree777c669c289ea98da9907e5f3d6d2d1783f78b4a /.aliases
parent82583f4abf01e5cfda61578fc0ed1c30959da2c8 (diff)
downloaddotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.tar.gz
dotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.tar.bz2
dotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.zip
Update pacman and yay alias
Diffstat (limited to '.aliases')
-rw-r--r--.aliases17
1 files changed, 16 insertions, 1 deletions
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