From 39496d425558bea39e4b2b0bd4eadbb26add1cbf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 9 Oct 2008 00:46:45 +0200 Subject: use check_com instead of 'ls-colors:' --- etc/completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/completion') diff --git a/etc/completion b/etc/completion index a5eaff0..2ccda63 100644 --- a/etc/completion +++ b/etc/completion @@ -4,7 +4,7 @@ zstyle :compinstall filename ~/.zshrc zstyle ':completion:*' cache-path ~/var/cache/zsh zstyle ':completion:*' use-cache true -ls-colors: zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} +check_com -c dircolors && zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # Mark the current selection when tabbing through possible completions zstyle ':completion:*' menu select=1 -- cgit v1.2.3