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
This commit is contained in:
parent
64da1ed627
commit
f64835e6e8
1 changed files with 0 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue