From f64835e6e886bb78de2a7c576c4be35a5074f4b1 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 2 Apr 2012 17:20:59 +0100 Subject: [PATCH] GNU-utils should be loaded before aliases (core) There is no need to define aliases that are already defined somewhere else. Gnu-utils shoud olny load the gnu-utils commands --- modules/gnu-utils/init.zsh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/modules/gnu-utils/init.zsh b/modules/gnu-utils/init.zsh index a3ee3a34..0de4fba6 100644 --- a/modules/gnu-utils/init.zsh +++ b/modules/gnu-utils/init.zsh @@ -81,18 +81,3 @@ function hash { 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 -