aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/completion
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc.d/completion')
-rw-r--r--zshrc.d/completion11
1 files changed, 11 insertions, 0 deletions
diff --git a/zshrc.d/completion b/zshrc.d/completion
new file mode 100644
index 0000000..595489c
--- /dev/null
+++ b/zshrc.d/completion
@@ -0,0 +1,11 @@
+# vim: ft=zsh
+
+zstyle ':completion:*' completer _expand _complete _ignored _approximate
+zstyle ':completion:*' insert-unambiguous true
+zstyle ':completion:*' max-errors 3
+zstyle ':completion:*' use-cache on
+zstyle ':completion:*' cache-path ~/.cache/zsh
+zstyle -e ':completion:*:default' list-colors 'reply=("${PREFIX:+=(#bi)($PREFIX:t)(?)*==32=33}:${(s.:.)LS_COLORS}")'
+zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
+
+autoload -Uz compinit && compinit