aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc15
1 files changed, 10 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 59a9a68..d1f3315 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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