diff options
author | Guangxiong Lin <[email protected]> | 2021-11-28 10:14:28 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-28 10:14:28 +0800 |
commit | e28b45deba6228f8551f1df0bbb4d3c881f1af53 (patch) | |
tree | 777c669c289ea98da9907e5f3d6d2d1783f78b4a | |
parent | 82583f4abf01e5cfda61578fc0ed1c30959da2c8 (diff) | |
download | dotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.tar.gz dotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.tar.bz2 dotfiles-e28b45deba6228f8551f1df0bbb4d3c881f1af53.zip |
Update pacman and yay alias
-rw-r--r-- | .aliases | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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 |