aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/completion
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-26 15:02:07 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-26 15:26:36 +0100
commit47d3b6fc1966df43b37751165d6fa4229904c0fa (patch)
treecccb190aad69ed1afb93654922575a95e7745d03 /zshrc.d/completion
downloadshellrc-5ca54ae410284b679e1de070dcf74e04bcc5c3f8.tar.gz
shellrc-5ca54ae410284b679e1de070dcf74e04bcc5c3f8.tar.bz2
shellrc-5ca54ae410284b679e1de070dcf74e04bcc5c3f8.zip
Initial commitv0.1
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