From dce635a10568f9a59ee608070941222c814debe7 Mon Sep 17 00:00:00 2001 From: Armin Jenewein Date: Tue, 24 Mar 2015 16:41:59 +0100 Subject: [PATCH] bugfixes --- zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zshrc b/zshrc index 3bc9d44c3..ae71caf45 100644 --- a/zshrc +++ b/zshrc @@ -151,11 +151,6 @@ if [[ "$OS_TYPE" == "FreeBSD" ]]; then fi fi -if [[ "$OS_TYPE" == "Linux" ]]; then - alias ls='ls --group-directories-first -F --color=auto' -fi - - # enable ls colorization: if [ "$TERM" != "dumb" ]; then if [[ "$dircolors_enable" == 1 ]]; then @@ -197,12 +192,17 @@ if [ "$TERM" != "dumb" ]; then fi # do not autocorrect sudo commands (fixes "zsh: correct 'vim' to '.vim' [nyae]?") -alias sudo='nocorrect sudo -E' +alias sudo='nocorrect sudo' # the more brutal attempt: unsetopt correct{,all} +# colored grep / less +alias grep="grep --color='always'" alias less='less -R' alias diff='colordiff' +set modeline + +