From 9ea49884ca9e1e66878b018ac5c14971a6af7364 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 23 Mar 2021 10:56:08 +0100 Subject: Stop complaining on missing syntax highlighting --- .zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index aee4c54..7e0e10c 100644 --- a/.zshrc +++ b/.zshrc @@ -172,7 +172,15 @@ gpg-connect-agent /bye export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) # Apply bundles -source "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh/feature-syntax-highlighting/zsh-syntax-highlighting.zsh" +for bundle in "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh/"*; +do + if [[ "$bundle" == "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh/*" ]] + then + [ $DEBUG_DOTFILES ] && echo "No vendor libraries" + fi + + source "$bundle" +done autoload -U +X bashcompinit && bashcompinit complete -o nospace -C /usr/bin/terraform terraform -- cgit v1.1