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
b34e0502d3
commit
7a58edd2e1
1 changed files with 0 additions and 13 deletions
|
@ -62,16 +62,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 $(gdircolors "$HOME/.dir_colors")
|
||||
fi
|
||||
alias ls="$aliases[ls] --color=auto"
|
||||
else
|
||||
alias ls="$aliases[ls] -F"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue