aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh/40-completion.zsh
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-10-03 11:53:02 +0800
committerAaron LI <aly@aaronly.me>2019-10-03 11:54:04 +0800
commitd2a4672e74290fc8a0662fb459e8e268b72a0fdf (patch)
treeeb8d5cd0ca786688184cf3e5be380702c4a2cb34 /_zsh/40-completion.zsh
parentb7c96f96473856ec0aaa2ffdd4454a2fca6c7735 (diff)
downloaddotfiles-d2a4672e74290fc8a0662fb459e8e268b72a0fdf.tar.bz2
zsh: Merge zsh/* configs into zshrc
Meanwhile, drop some unused configurations ...
Diffstat (limited to '_zsh/40-completion.zsh')
-rw-r--r--_zsh/40-completion.zsh61
1 files changed, 0 insertions, 61 deletions
diff --git a/_zsh/40-completion.zsh b/_zsh/40-completion.zsh
deleted file mode 100644
index 5275f6b..0000000
--- a/_zsh/40-completion.zsh
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# zsh/completion.zsh
-#
-
-fpath=(~/.zsh.completions $fpath)
-autoload -U compinit && compinit
-zmodload -i zsh/complist
-
-# man zshcontrib
-zstyle ':vcs_info:*' actionformats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
-zstyle ':vcs_info:*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f '
-zstyle ':vcs_info:*' enable git #svn cvs
-
-# enable completion caching, use rehash to clear
-zstyle ':completion::complete:*' use-cache on
-zstyle ':completion::complete:*' cache-path ~/.cache/zsh/${HOST}
-
-# fallback to built in ls colors
-zstyle ':completion:*' list-colors ''
-
-# make the list prompt friendly
-zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
-
-# make the selection prompt friendly when there are a lot of choices
-zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
-
-# add simple colors to kill
-zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
-
-# list of completers to use
-zstyle ':completion:*::::' completer _expand _complete _ignored _approximate
-
-zstyle ':completion:*' menu select=1 _complete _ignored _approximate
-
-# insert all expansions for expand completer
-#zstyle ':completion:*:expand:*' tag-order all-expansions
-
-# match uppercase from lowercase
-zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
-
-# offer indexes before parameters in subscripts
-zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
-
-# formatting and messages
-zstyle ':completion:*' verbose yes
-zstyle ':completion:*:descriptions' format '%B%d%b'
-zstyle ':completion:*:messages' format '%d'
-zstyle ':completion:*:warnings' format 'No matches for: %d'
-zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
-zstyle ':completion:*' group-name ''
-
-# ignore completion functions (until the _ignored completer)
-zstyle ':completion:*:functions' ignored-patterns '_*'
-zstyle ':completion:*:scp:*' tag-order files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
-zstyle ':completion:*:scp:*' group-order files all-files users hosts-domain hosts-host hosts-ipaddr
-zstyle ':completion:*:ssh:*' tag-order users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *'
-zstyle ':completion:*:ssh:*' group-order hosts-domain hosts-host users hosts-ipaddr
-zstyle '*' single-ignored show
-
-
-# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #