From cfd6c25c6ba126ffeb20c108a3ec42d076631227 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sun, 10 Jan 2021 23:40:57 +0100 Subject: [PATCH] Add off function --- dotfiles/shell/aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index e963930..6778a05 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -118,6 +118,10 @@ bye() { sudo protonvpn d } +off() { + sudo protonvpn d && shutdown now +} + # Use python to make simple calculations, like 'calc 24/8' calc() { echo -n "$* = "