aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/completion
blob: 595489c37e5426fa84b884de80e5cba75ff30d3b (plain)
1
2
3
4
5
6
7
8
9
10
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