diff --git a/zshrc b/zshrc index c1b3e00..27b40a2 100644 --- a/zshrc +++ b/zshrc @@ -38,13 +38,13 @@ 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 ' -alias s='sudo ' +alias sudo='sudo -E ' +alias s='sudo -E ' if [ ${USER} != "root" ]; then alias si='sudo iptables -L -vn ' alias sp='sudo puppet agent -t ' - alias sv='sudo vi ' - alias sz='sudo -i ' + alias sv='sudo -E vi ' + alias sz='sudo -E zsh' alias sd='sudo docker' else alias si='iptables -L -vn '