Add hello bye

This commit is contained in:
flyingscorpio@arch-desktop 2020-10-25 21:28:35 +01:00
parent faa028e36e
commit 55e489f500

View file

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