From 6ae23040477ef91543d2cc44d1f0b1d0af47e04e Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 27 Mar 2024 02:24:59 -0400 Subject: [PATCH] global/shell: improve sudo alias The space at the end tells bash/zsh to expand further aliases --- modules/global/shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/global/shell.nix b/modules/global/shell.nix index c7e7011..983a4e8 100644 --- a/modules/global/shell.nix +++ b/modules/global/shell.nix @@ -92,7 +92,8 @@ in environment.shellAliases = config.universe.shellAliases // { # sudo - s = ifSudo "sudo -E "; + sudo = ifSudo "sudo -E "; + s = ifSudo "sudo "; si = ifSudo "sudo -i"; se = ifSudo "sudoedit";