summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-15 16:25:43 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-15 16:25:43 +0100
commitedf5e8653fed248b9f5abe9bf6ce2d0bc80570bc (patch)
treea5efdff0e6b3e433a4c1898b0e5cb22744ba2afa /etc
parent537ff91d705178d97ab15c981a96f533d80b36b2 (diff)
completion: separate manuals by section
source: http://github.com/gigamo/config/blob/46421b0a5469b009819de9a0ee37b7ade0802218/.zsh/style
Diffstat (limited to 'etc')
-rw-r--r--etc/completion4
1 files changed, 4 insertions, 0 deletions
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})'