diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -174,15 +174,20 @@ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) # Apply bundles if [[ -d "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh" ]] then - for bundle in "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh/"*; + pushd "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh" > /dev/null + + sources=( + "feature-syntax-highlighting/zsh-syntax-highlighting.zsh" + ) + + for bundle in "${sources[@]}" do - if [[ "$bundle" == "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh/*" ]] - then - [ $DEBUG_DOTFILES ] && echo "No vendor libraries" - fi + [[ ! -f "$bundle" ]] && continue source "$bundle" done + + popd > /dev/null fi autoload -U +X bashcompinit && bashcompinit |