From 61cab420cd8b352edec13cfc48faeacde97b1811 Mon Sep 17 00:00:00 2001 From: Armin Date: Sun, 22 Mar 2015 11:37:08 -0400 Subject: [PATCH] add -E for sudo --- zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zshrc b/zshrc index 00db035d3..3bc9d44c3 100644 --- a/zshrc +++ b/zshrc @@ -4,9 +4,9 @@ ZSH="$HOME/.zsh" # export ZSH_THEME="random" -export ZSH_THEME="ezzsh" # name of zsh theme +# export ZSH_THEME="ezzsh" # name of zsh theme # export ZSH_THEME="powerline" # name of zsh theme -# export ZSH_THEME="powerline-with-hostname" # name of zsh theme +export ZSH_THEME="powerline-with-hostname" # name of zsh theme # Set this to true to use case-sensitive completion CASE_SENSITIVE="false" # bool @@ -197,7 +197,7 @@ if [ "$TERM" != "dumb" ]; then fi # do not autocorrect sudo commands (fixes "zsh: correct 'vim' to '.vim' [nyae]?") -alias sudo='nocorrect sudo' +alias sudo='nocorrect sudo -E' # the more brutal attempt: unsetopt correct{,all}