From 1c8b7236633f082734b8d60922a9c829127071c6 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 4 Aug 2017 09:43:15 +0200 Subject: [PATCH] =?UTF-8?q?Don't=20override=20"sudo"=20default=20with=20pr?= =?UTF-8?q?eserve-env=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index ebd6495..f0c358e 100644 --- a/zshrc +++ b/zshrc @@ -38,7 +38,7 @@ alias lr='ls -R | grep ":$" | sed -e '\''s/:$//'\'' -e '\''s/[^-][^\/]*\//--/g'\ # Faire en sorte que sudo puisse également utiliser les alias! (c'est l'espace qui fait toute la différence) # `man zshall` partie Aliasing: "If the text ends with a space, the next word in the shell input is treated as though it were in command position for # purposes of alias expansion. " -alias sudo='sudo -E ' +alias sudo='sudo ' alias s='sudo -E ' if [ ${USER} != "root" ]; then alias sc='sudo systemctl '