[Fix #212] Replace dircolors with whoami

This commit is contained in:
Sorin Ionescu 2012-07-19 15:49:00 -04:00
parent 060f34c7e5
commit 4d86e9c591

View File

@ -9,7 +9,7 @@
zstyle -s ':omz:module:gnu-utility' prefix '_gnu_utility_p' || _gnu_utility_p='g'
# Check for the presence of GNU Core Utilities.
if (( ! ${+commands[${_gnu_utility_p}dircolors]} )); then
if (( ! ${+commands[${_gnu_utility_p}whoami]} )); then
return 1
fi