From dc47f8be0842b4938a26ad5c64a4ec411c62c451 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 27 Nov 2021 12:55:10 +0800 Subject: Add alias of pacman --- .aliases | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3