Skip to content

Commit

Permalink
Remove ls aliases from gnu-utils
Browse files Browse the repository at this point in the history
There is no need to redefine aliases that are already defined elsewhere.
Load gnu-utils before alias instead.
  • Loading branch information
ColinHebert authored and sorin-ionescu committed Apr 11, 2012
1 parent e3cdbc1 commit e81ad23
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/gnu-utils/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,3 @@ 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

0 comments on commit e81ad23

Please sign in to comment.