From 8f8a32833b68dc36221924e80ef42775169c49e7 Mon Sep 17 00:00:00 2001 From: lub Date: Tue, 21 Dec 2021 18:26:07 +0100 Subject: [PATCH] bashrc add snapshot before syu --- dotfiles/bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index c177e9c..dfbc5dc 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -35,7 +35,7 @@ alias ls='ls --color=auto' alias ip='ip --color=auto' alias autopurge='sudo pacman -Rns $(pacman -Qdtq)' alias aur='auracle' -alias syu='sudo pacman -Syu; sudo pacman -Rns $(pacman -Qdtq); pacman -Qem; aur sync' +alias syu='sudo snapshot pre-syu && sudo pacman -Syu; sudo pacman -Rns $(pacman -Qdtq); pacman -Qem; aur sync' alias d-u='sudo apt update && sudo apt full-upgrade && sudo apt --purge autoremove && sudo apt clean' alias pp='git pull -r && git push' alias statdiff='git status && git diff --staged'