Add sudo to shutdown and reboot

This commit is contained in:
flyingscorpio@arch-desktop 2021-06-06 20:57:45 +02:00
parent 4f7f974afa
commit 839fa07c5c

View file

@ -118,9 +118,11 @@ bye() {
if command -v protonvpn >/dev/null 2>&1; then if command -v protonvpn >/dev/null 2>&1; then
sudo protonvpn d sudo protonvpn d
fi fi
shutdown now sudo shutdown now
} }
alias reboot='sudo protonvpn d; sudo reboot'
# Open a map with location after using whois # Open a map with location after using whois
whois-firefox() { whois-firefox() {
mkfifo pipe; cat pipe & mkfifo pipe; cat pipe &