summaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-09 00:46:45 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-09 00:46:45 +0200
commit39496d425558bea39e4b2b0bd4eadbb26add1cbf (patch)
treeb69d32d73dbfc65c979fb86f9e2dc4bc3cd59d76 /etc/completion
parentc5d3e6462d43f501c00acab8e5e3b6ed18434542 (diff)
use check_com instead of 'ls-colors:'
Diffstat (limited to 'etc/completion')
-rw-r--r--etc/completion2
1 files changed, 1 insertions, 1 deletions
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