Simplify zsh config file structure

This commit is contained in:
Marty Oehme 2019-02-24 12:34:40 +01:00
parent 7bdf7ab1cd
commit 71c5944bf8
19 changed files with 31 additions and 21 deletions

View file

@ -0,0 +1,13 @@
# 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