42-dircolors.zsh 277 Bytes
Newer Older
Nigel Kukard's avatar
Nigel Kukard committed
1
2
3
4
5
# Add directory colors
if [ -x /usr/bin/dircolors ]; then
	eval "$(dircolors -b)"

	alias dir='dir --color=auto'
6
	alias ls='ls --color=auto'
Nigel Kukard's avatar
Nigel Kukard committed
7
8
9
	alias vdir='vdir --color=auto'

	alias egrep='egrep --color=auto'
10
11
	alias fgrep='fgrep --color=auto'
	alias grep='grep --color=auto'
Nigel Kukard's avatar
Nigel Kukard committed
12
fi