1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 00:17:59 +00:00

Remove ls aliases from gnu-utils

There is no need to redefine aliases that are already defined elsewhere.
Load gnu-utils before alias instead.
This commit is contained in:
Colin Hebert 2012-04-02 17:20:59 +01:00 committed by Sorin Ionescu
parent e3cdbc130c
commit e81ad23346

View File

@ -82,17 +82,3 @@ function rehash {
hash -r "$@" 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