Don't override "sudo" default with preserve-env…

This commit is contained in:
Jeremy Gardais 2017-08-04 09:43:15 +02:00
parent 686e1410a8
commit 1c8b723663
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -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) # 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 # `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. " # purposes of alias expansion. "
alias sudo='sudo -E ' alias sudo='sudo '
alias s='sudo -E ' alias s='sudo -E '
if [ ${USER} != "root" ]; then if [ ${USER} != "root" ]; then
alias sc='sudo systemctl ' alias sc='sudo systemctl '