aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-11-27 12:55:10 +0800
committerGuangxiong Lin <[email protected]>2021-11-27 12:55:10 +0800
commitdc47f8be0842b4938a26ad5c64a4ec411c62c451 (patch)
tree9a6c2169b837ee74bf2d77c1238bc371402e7bb6
parent4a8d622e83ca6a8ae0399e0fac23ec9ad52cee8a (diff)
downloaddotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.tar.gz
dotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.tar.bz2
dotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.zip
Add alias of pacman
-rw-r--r--.aliases5
1 files changed, 5 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index a49813d..7e9621c 100644
--- a/.aliases
+++ b/.aliases
@@ -6,3 +6,8 @@ alias magit='emacs -nw -f magit'
alias nb='cd ~/journals; vim index.md; cd -'
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 Rs='sudo pacman -Rs'
+fi