Load the ansible_deploy zshrc files.

This commit is contained in:
Tom Alexander 2022-10-11 21:42:55 -04:00
parent ba1d4fb9d9
commit 68a164467d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -38,3 +38,10 @@ autoload -Uz add-zsh-hook
source $HOME/.ansible_deploy/zsh-histdb/histdb-interactive.zsh source $HOME/.ansible_deploy/zsh-histdb/histdb-interactive.zsh
bindkey '^r' _histdb-isearch bindkey '^r' _histdb-isearch
# TODO: Consider moving to /etc/profile.d
while read file; do
if [ -e "$file" ]; then
source "$file"
fi
done <<<"$(find $HOME/.ansible_deploy/zshrc -maxdepth 1 -type f -name '*.zsh' -print)"