vim/zsh/zsh.d/Darwin/90-coreutilsBrew

14 lines
358 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Core Utils woth Brew
#
ver=`brew info coreutils 2>/dev/null| head -1|cut -d" " -f2`
[ "$ver" = "" -o "$ver" = "No" ] && return 1
if [ -f /etc/zsh/gdircolors ]; then
eval `gdircolors /etc/zsh/gdircolors`
else
eval `gdircolors`
fi
source /usr/local/Cellar/coreutils/$ver/aliases
#alias ls='ls -F -G' # We use OSX ls 'cause it shows extended attrs