From 20cb4ba71c808470008bdd33c3b4f9364947cad7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Feb 2009 12:00:17 +0100 Subject: still more comments --- etc/completion | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc/completion') diff --git a/etc/completion b/etc/completion index 09031ca..91b9c47 100644 --- a/etc/completion +++ b/etc/completion @@ -4,6 +4,7 @@ zstyle :compinstall filename ~/.zshrc zstyle ':completion:*' cache-path ~/var/cache/zsh zstyle ':completion:*' use-cache true +# Use ls-colors for file completion check_com -c dircolors && zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # Mark the current selection when tabbing through possible completions @@ -27,10 +28,11 @@ zstyle ':completion:*:warnings' format \ zstyle ':completion:*' group-name '' unset char -# program-specific settings +# Force menu completion since the input is just a stupid number zstyle ':completion:*:*:kill:*' menu yes zstyle ':completion:*:*:(todo|td*):*:items' menu yes +# $hosts is set from the hosts package zstyle -e ':completion:*' hosts 'reply=(${(k)hosts})' if [[ -r $compdump ]] { -- cgit v1.2.3