From 4697c49dc951d95648178002e4bdd3ca9ed79e33 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 25 Feb 2017 02:46:21 +0000 Subject: [PATCH] Always pass environment variables with sudo --- aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aliases b/aliases index 3a38cd0..cf23eeb 100644 --- a/aliases +++ b/aliases @@ -42,7 +42,7 @@ alias svi=sudoedit # This will enable us to use aliases in sudo. # (If alias finishes with a space or tab, the shell will check if the next command is also aliased.) # Source: https://github.com/mayah/home/blob/master/.zsh/zshrc.d/alias.zsh -alias sudo='sudo ' +alias sudo='sudo -E ' alias open=xdg-open # Command rewrites