Fix static analysis errors

This commit is contained in:
Marty Oehme 2019-07-24 10:54:06 +02:00
parent 05c189cfa4
commit bedf7e18a9
4 changed files with 27 additions and 25 deletions

View file

@ -2,12 +2,14 @@
zstyle ':completion:*' accept-exact '*(N)'
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/.zsh/cache
# shellcheck disable=SC2016
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
# shellcheck source=/dev/null
source "$completion"
done
fi