From edf5e8653fed248b9f5abe9bf6ce2d0bc80570bc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Feb 2009 16:25:43 +0100 Subject: completion: separate manuals by section source: http://github.com/gigamo/config/blob/46421b0a5469b009819de9a0ee37b7ade0802218/.zsh/style --- etc/completion | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/completion b/etc/completion index 5775421..6b5360d 100644 --- a/etc/completion +++ b/etc/completion @@ -37,6 +37,10 @@ zstyle ':completion:*:*:(todo|td*):*:items' menu yes zstyle ':completion:*:processes' command 'ps -au$USER -o pid,time,cmd|grep -v "ps -au$USER -o pid,time,cmd"' zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)[ 0-9:]#([^ ]#)*=01;30=01;31=01;38' +# separate manuals by sections +zstyle ':completion:*:manuals' separate-sections true +zstyle ':completion:*:manuals.*' insert-sections true + # $hosts is set from the hosts package zstyle -e ':completion:*' hosts 'reply=(${(k)hosts})' -- cgit v1.2.3