Simplify zsh config file structure
This commit is contained in:
parent
7bdf7ab1cd
commit
71c5944bf8
19 changed files with 31 additions and 21 deletions
13
.config/zsh/3-configure-autocompletion
Normal file
13
.config/zsh/3-configure-autocompletion
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue