Don't override "sudo" default with preserve-env…
This commit is contained in:
parent
686e1410a8
commit
1c8b723663
2
zshrc
2
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)
|
# 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 '
|
||||||
|
|
Loading…
Reference in New Issue