From 210f50b673ebcc5f1358da5b74a897bd0f85da08 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 23 Feb 2023 11:44:50 -0500 Subject: [PATCH] tweak(global/shell): add to systemctl aliases --- modules/global/shell.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/global/shell.nix b/modules/global/shell.nix index 35e23d6..58c2057 100644 --- a/modules/global/shell.nix +++ b/modules/global/shell.nix @@ -34,10 +34,12 @@ in ctl = "systemctl"; stl = ifSudo "s systemctl"; utl = "systemctl --user"; - ut = "systemctl --user start"; - un = "systemctl --user stop"; - up = ifSudo "s systemctl start"; - dn = ifSudo "s systemctl stop"; + ut = "utl start"; + un = "utl stop"; + ur = "utl restart"; + up = ifSudo "stl start"; + dn = ifSudo "stl stop"; + rt = ifSudo "stl restart"; jtl = "journalctl"; # Miscellaneous