diff options
author | Guangxiong Lin <[email protected]> | 2021-11-27 12:55:10 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-27 12:55:10 +0800 |
commit | dc47f8be0842b4938a26ad5c64a4ec411c62c451 (patch) | |
tree | 9a6c2169b837ee74bf2d77c1238bc371402e7bb6 | |
parent | 4a8d622e83ca6a8ae0399e0fac23ec9ad52cee8a (diff) | |
download | dotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.tar.gz dotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.tar.bz2 dotfiles-dc47f8be0842b4938a26ad5c64a4ec411c62c451.zip |
Add alias of pacman
-rw-r--r-- | .aliases | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |