From 537ff91d705178d97ab15c981a96f533d80b36b2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Feb 2009 12:06:45 +0100 Subject: completion: beautified kill completion --- etc/completion | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') diff --git a/etc/completion b/etc/completion index 91b9c47..5775421 100644 --- a/etc/completion +++ b/etc/completion @@ -32,6 +32,11 @@ unset char zstyle ':completion:*:*:kill:*' menu yes zstyle ':completion:*:*:(todo|td*):*:items' menu yes +# fancy kill completion +# source: http://madism.org/~madcoder/dotfiles/zsh/40_completion +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' + # $hosts is set from the hosts package zstyle -e ':completion:*' hosts 'reply=(${(k)hosts})' -- cgit v1.2.3