From 95dd5ff419db31763610e0a3253b3d9b7a65df28 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 5 Nov 2024 08:44:45 -0600 Subject: add env to sudo by default Signed-off-by: Matt Strapp --- dot_config/zsh/aliasrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot_config/zsh/aliasrc') diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc index 4e23013..5c180df 100644 --- a/dot_config/zsh/aliasrc +++ b/dot_config/zsh/aliasrc @@ -18,7 +18,7 @@ if command -v doas &>/dev/null then alias sudo='doas' else - alias sudo='sudo ' + alias sudo='sudo -E' fi # Verbosity and settings that you pretty much just always are going to want. -- cgit v1.2.3