From 839fa07c5cdafa7aa391373eb960369458570979 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sun, 6 Jun 2021 20:57:45 +0200 Subject: [PATCH] Add sudo to shutdown and reboot --- dotfiles/shell/aliases | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index 31e821d..b33c3d3 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -118,9 +118,11 @@ bye() { if command -v protonvpn >/dev/null 2>&1; then sudo protonvpn d fi - shutdown now + sudo shutdown now } +alias reboot='sudo protonvpn d; sudo reboot' + # Open a map with location after using whois whois-firefox() { mkfifo pipe; cat pipe &