Remove protonvpn commands

This commit is contained in:
flyingscorpio@clevo 2022-07-03 22:56:25 +02:00
parent 7a421da536
commit 03281ae0f2

View file

@ -141,11 +141,6 @@ git-check-unpushed() {
} }
hello() { hello() {
if command -v protonvpn >/dev/null 2>&1; then
if protonvpn s | grep Disconnected >/dev/null; then
sudo protonvpn c -f
fi
fi
system-update system-update
echo -n "Do you want to pull from you git repos? [y/N] " echo -n "Do you want to pull from you git repos? [y/N] "
@ -162,18 +157,10 @@ hello() {
bye() { bye() {
git-check-unpushed || return 1 git-check-unpushed || return 1
if command -v protonvpn >/dev/null 2>&1; then
sudo protonvpn d
fi
sudo shutdown now sudo shutdown now
} }
reboot() { alias reboot='sudo reboot'
if command -v protonvpn >/dev/null 2>&1; then
sudo protonvpn d
fi
sudo reboot
}
# Open a map with location after using whois # Open a map with location after using whois
whois-firefox() { whois-firefox() {