diff options
Diffstat (limited to 'etc/completion')
-rw-r--r-- | etc/completion | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/etc/completion b/etc/completion deleted file mode 100644 index 15db625..0000000 --- a/etc/completion +++ /dev/null @@ -1,51 +0,0 @@ -## vim:ft=zsh -zrc_status completion - -zstyle ':completion:*' cache-path $ZCACHEDIR -zstyle ':completion:*' use-cache true - -# Use ls-colors for file completion -zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} - -# Mark the current selection when tabbing through possible completions -zstyle ':completion:*' menu select=1 - -# Complete uppercase names with lowercase and spaces with _ -zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z} m:_=\\\ ' '+ l:|=* r:|=*' - -# Be verbose -zstyle ':completion:*' verbose true -zstyle ':completion:*:descriptions' format \ - "· %d ·" -zstyle ':completion:*:messages' format \ - "· %d ·" -zstyle ':completion:*:corrections' format \ - "· %d ·" -zstyle ':completion:*:warnings' format \ - "%F{red}no match:%F{default} %d" - -zstyle ':completion:*' group-name '' - -# Force menu completion since the input is just a stupid number -zstyle ':completion:*:*:kill:*' menu yes -zstyle ':completion:*:*:(todo|td*):*:items' menu yes - -zstyle ':completion:*:*:vi(m|):*' ignored-patterns \ - 'a.out|*.o' - -# 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' - -# separate manuals by sections -zstyle ':completion:*:manuals' separate-sections true -zstyle ':completion:*:manuals.*' insert-sections true - -# $hosts is set from the hosts package -zstyle ':completion:*' hosts ${(k)hosts} - -compinit -C -d $compdump - -compdef _hosts sshmount -compdef _functions reload |