diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -172,15 +172,18 @@ gpg-connect-agent /bye export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) # Apply bundles -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 +if [[ -d "${XDG_CONFIG_DIR:-"${HOME}/.config"}/shell/vendor/zsh" ]] +then + 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 + source "$bundle" + done +fi autoload -U +X bashcompinit && bashcompinit complete -o nospace -C /usr/bin/terraform terraform |