13 lines
No EOL
453 B
Bash
13 lines
No EOL
453 B
Bash
# Speed up autocomplete, force prefix mapping
|
|
zstyle ':completion:*' accept-exact '*(N)'
|
|
zstyle ':completion:*' use-cache on
|
|
zstyle ':completion:*' cache-path ~/.zsh/cache
|
|
zstyle -e ':completion:*:default' list-colors 'reply=("${PREFIX:+=(#bi)($PREFIX:t)*==34=34}:${(s.:.)LS_COLORS}")';
|
|
|
|
# Load any custom zsh completions we've installed
|
|
if [ -d ~/.zsh-completions ]; then
|
|
for completion in ~/.zsh-completions/*
|
|
do
|
|
source "$completion"
|
|
done
|
|
fi |