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:
parent
e3cdbc130c
commit
e81ad23346
1 changed files with 0 additions and 14 deletions
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue