From e81ad23346d10d7297cf6fa49c223bbdc7f9049e Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 2 Apr 2012 17:20:59 +0100 Subject: [PATCH] Remove ls aliases from gnu-utils There is no need to redefine aliases that are already defined elsewhere. Load gnu-utils before alias instead. --- modules/gnu-utils/init.zsh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/gnu-utils/init.zsh b/modules/gnu-utils/init.zsh index a3ee3a34..70a3dc8c 100644 --- a/modules/gnu-utils/init.zsh +++ b/modules/gnu-utils/init.zsh @@ -82,17 +82,3 @@ function rehash { hash -r "$@" } -# A sensible default for ls. -alias ls='ls --group-directories-first' - -if zstyle -t ':omz:alias:ls' color; then - if [[ -f "$HOME/.dir_colors" ]]; then - eval "$(dircolors "$HOME/.dir_colors")" - else - eval "$(dircolors)" - fi - alias ls="$aliases[ls] --color=auto" -else - alias ls="$aliases[ls] -F" -fi -