bashrc add snapshot before syu

master
lub 3 years ago
parent 9065a5ab91
commit 8f8a32833b

@ -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'

Loading…
Cancel
Save