diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index 3f0efa4..8ec2638 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -47,3 +47,25 @@ clitip() { xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" | xmlstarlet unesc | fmt -80 | iconv -t US } + +hello() { + sudo protonvpn c -f + echo + # Don't update if its a kernel update that will require reboot + case "$(checkupdates)" in + *linux*) + echo "Not performing update" + ;; + *) + sudo pacman -Syu + esac + cd ~/SetupCockpit && git pull + cd ~/Keepass && git pull + cd ~/Lessons/TSSR && git pull +} + +bye() { + cd ~/SetupCockpit && git push + cd ~/Keepass && git push + cd ~/Lessons/TSSR && git push +}