aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-03-23 10:56:08 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 12:01:18 +0200
commit9ea49884ca9e1e66878b018ac5c14971a6af7364 (patch)
tree325c7cde4a7a24a2220fade6a2feb47d9913033b
parent02dd564b9e05b6717fc2091b8f8e1c2d80167704 (diff)
Stop complaining on missing syntax highlighting
-rw-r--r--.zshrc10
1 files changed, 9 insertions, 1 deletions
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